day20_task_简单登录界面

要求: 完成以下图片所示登录界面


QQ图片20190514191050.png
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>小a陪诊</title>
        <style type="text/css">
            body{
                background-image: url(img/tiddg.jpg);
            }
            .div1{
                background-color: white;
                width: 350px;
                height: 200px;
                left: 500px;
                top: 80px;
                position: absolute;
            }
            #id3{
                background: green;
            }
            #id5{
                padding: 6px;
                font-size: 15px;
            }
            .div3{
                position: absolute;
                right: 260px;
                font-size: 14px;
            }
            .div2{
                position: absolute;
                width: 350px;
                height: 200px;
                left: 500px;
                top: 50px;
            }
            #id1{
                position: absolute;
                left: 3px;
                font: "微软雅黑";
                font-size: 20px;
                color: forestgreen;
                top: 3px;
            
            }
            #id2{
                position: absolute;
                right: 3px;
                font-size: 10px;
                top: 10px;  
            }
            .div4{
                position: absolute;
                left: 100px;
            }
            #id3{
                position: absolute;
                width: 350px;
                font-size: 20px;
                height: 30px;
            }
            #id6{
                position: absolute;
                left:175px;
            }
        </style>
    </head>
    <body>
        <div class="div2">
            <span id="id1">小a陪诊</span> 
            <span id="id2">首页 &nbsp;|&nbsp;&nbsp;用户注册</span>
        </div>
        <div class="div1">
            <div id="id3"><div id="id5">登录</div></div>
            <form action="" method="post">
                <font class="div3" style="top: 50px;">用户名:</font> <input type="text"  name="账户名" placeholder="请输入用户名" class="div4" style="top:50px; width:150px;"/><br />
                <font class="div3" style="top: 80px;">密码:</font> <input type="password"  name="密码" placeholder="请输入用户名" class="div4" style="top:80px; width:150px;"/><br />
                <font class="div3" style="top: 110px;">验证码:</font> <input type="text"  name="验证码" class="div4" style="top:110px; width:70px;"/><br /><img src="img/swhg.png" style="top:110px; width:70px;" id="id6"/>
                <button type="submit" class="div4" style="top:140px; width:150px; background-color: blue;">登录</button>
            </form>
            <a href="https://www.yihu.com/YihuArticle/1082.shtml" class="div4"style="top:170px; font-size: 10px;">忘记密码?</a>
        </div>
    </body>
</html>

def.png
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 点击查看原文 Web SDK 开发手册 SDK 概述 网易云信 SDK 为 Web 应用提供一个完善的 IM 系统...
    layjoy阅读 14,745评论 0 15
  • 一、Python简介和环境搭建以及pip的安装 4课时实验课主要内容 【Python简介】: Python 是一个...
    _小老虎_阅读 11,152评论 0 10
  • 吃货地图产品需求文档 V1.0-2015/03/30 1概述 1.1产品概述及目标 概述:“吃货地图”是一款基于i...
    michaelshan阅读 11,120评论 1 46
  • 现在在智能机上下载一个apps是再简单不过的事了,而安装完后首次打开app时,用户首先看到的就是登陆注册页了,当然...
    虎尾兰守望者阅读 25,680评论 2 59
  • 为梦而努力1095天,5月7日,三月二十二,周一,小雨,晴,思涵每日赠言:人只要不失去方向,就不会失去自己!人生重...
    2b190d753dcb阅读 3,085评论 5 8