day_02作业

image.png
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>小a陪诊登录界面</title>
        <style type="text/css">
            body{background-image: url(img/timg.jpg);background-repeat:no-repeat;
            background-size: 100% 100%;background-attachment: fixed;}
            #div1{
                width:500px;
                height:350px;
                background-color:white;
                /*box-shadow: 10px 10px 5px #888888;*/
                /*border: 1px solid;*/
                
                margin-left: 800px;
                margin-top: 150px;
                
                }
                #div2{background-color: green}
                #div4{background-color:rgba(255,255,255,0.1)}
        </style>
    </head>
    <body>
        <div id="div1">
            <div id="div4">
                
            
            <font style="color:green;font-size: 45px;font-family:'微软雅黑' ;">小a陪诊</font>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
            <a href="" style="color: green;font-size: 15px;">首页</a>
            <font style="color: darkgray;">|</font>
            <a href="" style="color: green;font-size: 15px;">用户注册</a>
            </div>
            <div id="div2">
                <font style="color: white;font-size: 20px;">&emsp;登录</font>
            </div>
            <br />
            <br />
            <div id="div3">
                <form action="" method="get">                                       
                    &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<font style="color: gray;">用户名:</font>
                    <input type="text" name="用户名" id="" value=""placeholder="请输入用户名" style="height: 20px;"/><br /><br />
                    &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<font style="color: gray;">密码:</font>
                    <input type="text" name="密码" id="" value=""placeholder="请输入密码" style="height: 20px;"/><br /><br />
                    &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<font style="color: gray;">验证码:</font>
                    <input type="text" name="验证码" id="" value="" style="width: 70px;height: 20px;"/>&emsp;<img src="img/111.jpg"/ width="80px" height="20px"><br /><br />
                    &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<input type="submit" value="登录" style="background-color:green;color: white;font-size: 20px;width: 200px;"/>
                </form>
            </div>
            &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<a href="" style="color: darkgray;font-size: 15px;">忘记密码?</a>
        </div>
        
    </body>
</html>
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容