每日总结 4.26
今天进行了登陆界面的学习借鉴学习,
<!DOCTYPE HTML> <html> <head> <title>登录界面</title> <meta charset="utf-8"> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> <link rel="stylesheet" type="text/css" href="css.css" /> </head> <body> <form name="form1" action="" method="post"> <h1>供货商登录</h1> <input class=input_1 id=username size=15 name="username" placeholder=用户名><br /> <input class=input_1 id=password type=text size=15 name="password" placeholder=密码><br /> <br/> <input class=input_3 type="button" onclick="login()" value="登录" /> <input class=input_3 type="button" onclick=document.form1.reset() value="重置" /> <input class=input_3 type="button" onclick="zhucea()" value="注册" /> </form> <script type="text/javascript" src="script.js"></script> </body> </html>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | @charset "UTF-8" ; body{ margin:0; padding:0; background:url( "ab.jpg" ) no-repeat; background-size:100%; } html{ height: 100%; box-shadow:0px 0px 300px #000 inset; -webkit-box-shadow:0px 0px 50px #000 inset; } form{ position:absolute; left:50%; top:50%; margin-left:-300px; margin-top:-220px; width:480px; height:380px; background:url( "b.png" ) no-repeat; border-radius:25px; color:#fff; text-align:center; padding:65px; /*box-shadow: 0px 0px 15px #0005;*/ } .input_1{ outline:none; margin-top:10px; border:0; width:300px; height:50px; border-radius:15px; padding-left:15px; font-size:18px; color:#999; } .input_2{ margin:20px 0px; border:0; background:#fff; } h1{ color:#fff; } /*单选*/ .radio_box{ display:inline-block; position:relative;margin:20px 5px;} .radio_box label{ width:15px; height:15px; position:absolute; top:0; left:0; border:2px solid #3A5367; border-radius:50%; background:#fff; cursor:pointer;} .radio_box input: checked + label:after{ content: '' ; width:9px; height:9px; position:absolute; top:3px; left:3px; background:#3A5367; border-radius:50%;} .check_box em{ margin:0 0 0 5px;} .input_3{ outline: none; width:50px; height:30px; border:0; padding:5px 7px; background:#fff; border-radius:20px; margin:0px 10px; } |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通