完整的京东界面

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>京东-欢迎登陆</title>
         <!--设置网页图标 
            rel: icon(设置图标)
            type: 文件类型  image/图片类型(png,ico,x-ico)
         -->
         <link rel="icon" type="image/x-icon" href="img/icon.ico">
         <link rel="stylesheet" type="text/css" href="css/jingdong.css">
         
    </head>
    <body>
         <!--===========1.顶部 ==========-->
        <div id="header">
             <!--上面的文字 -->
            <div class="h-top">
                 <!--图片的部分 -->
                <div class="icon">
                    <img src="img/logo.png" alt="">
                    <img src="img/l-icon.png" alt="">
                </div>
                 <!--问卷 -->
                 <a href="https://surveys.jd.com/index.php?r=survey/index/sid/568245/lang/zh-Hans" target="_blank">登录页面,调查问卷</a>
            </div>
            
             <!--下面的文字 -->
            <div class="h-bootom">
                <div>
                    <img src="img/warning.png" alt="">
                    <p>依据《网络安全法》,为保障您的账户安全和正常使用,请尽快完成手机号验证! 新版<a href="https://about.jd.com/privacy/" target="_blank">《京东隐私政策》</a>已上线,将更有利于保护您的个人隐私。
</p>            </div>
            </div>
        </div>
        
         <!--=============2.中间内容 =======-->
        <div id="content">
            <div class="input_div">
                <div class="info-top">
                    <div class="top-top">
                        <img src="img/warning.png" alt="">
                        <p>京东不会以任何理由要求您转账汇款,谨防诈骗。</p>
                    </div>
                    <div class="top-bottom">
                        <button>扫码登录</button>|
                        <button>账号登录</button>
                    </div>
                </div>
                <div class="info-middle">
                    <div class="username">
                        <img src="img/pygame.png" alt="">
                        <input type="text" name="username" placeholder="邮箱/用户名/已验证手机号">
                    </div>
                    <div class="password">
                        <img src="img/password_icon.png" alt="">
                        <input type="text" name="password" placeholder="密码">
                    </div>
                    
                     <!--忘记密码 -->
                     <a href="https://safe.jd.com/findPwd/index.action">忘记密码</a>
                    
                     <!--登录按钮 -->
                    <button class="login_button">登录</button>
                </div>
                
                <div class="info-bottom">
                    
                    <div>
                        <a class="qq" href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&response_type=code&state=38539B48F61E4E2064E443666C83ACAA4750F821809C1687C28A74953800BBE618BF2D959993CAA766ED93940866DAFE&client_id=100273020&redirect_uri=https%3A%2F%2Fqq.jd.com%2Fnew%2Fqq%2Fcallback.action%3Fview%3Dnull%26uuid%3Da6a8442a2d6d42e09cb7a984b171b4d5"><img src="img/qq.png" alt=""></a>
                        <font>|</font>
                        <a  class="line" href="https://open.weixin.qq.com/connect/qrconnect?appid=wx827225356b689e24&state=C0AE834AA398CEB7182D0361BAA0536E1FF0B01BEC988329FA5932B9276F61268241D124211BB2CBEF23B374DA1B602B&redirect_uri=https%3A%2F%2Fqq.jd.com%2Fnew%2Fwx%2Fcallback.action%3Fview%3Dnull%26uuid%3Dad2d0c28e65c47d98ddc955f166ebe6e&response_type=code&scope=snsapi_login#wechat_redirect"><img src="img/weixin.png" alt=""></a>
                        <a class="regist" href="https://reg.jd.com/reg/person?ReturnUrl=http%3A%2F%2Fwww.jd.com" style="font color: red;"><img src="img/right.png" alt="">立即注册</a>
                    </div>
                    
                </div>
                
            </div>
        </div>
        
         <!--3.=========== 1.底部 ==========-->
        <div id="footer">
            <div class="footer-a">
                <a href="https://www.jd.com/">关于我们&nbsp;&nbsp;</a>|
                <a href="http://about.jd.com/contact">&nbsp;&nbsp;人才招聘&nbsp;&nbsp; </a>|
                <a href="http://zhaopin.jd.com/home;jsessionid=A2F35ECF6B857BCD111DA6556F19EA41.s1">&nbsp;&nbsp;商家入驻&nbsp;&nbsp;</a>|
                <a href="">&nbsp;&nbsp;广告服务&nbsp;&nbsp;</a>|
                <a href="">&nbsp;&nbsp;手机京东&nbsp;&nbsp; </a>|
                <a href="">&nbsp;&nbsp;友情链接 &nbsp;&nbsp;</a>|
                <a href="">&nbsp;&nbsp;销售联盟 &nbsp;&nbsp;</a>|
                <a href="">&nbsp;&nbsp;京东社区&nbsp;&nbsp; </a>|
                <a href="">&nbsp;&nbsp;京东公益 &nbsp;&nbsp;</a>|
                <a href="">&nbsp;&nbsp;English Site&nbsp;&nbsp;</a>
            </div>
            <div class="footer-p">
                <p>Copyright © 2004-2018  京东JD.com 版权所有</p>
            </div>
        </div>
    </body>
</html>

 /* =====0.通用===========*/

 * {
    margin: 0;
    padding: 0;
    position: relative;
 }

 a {
    text-decoration: none;
 }
 /*==========1.header========= */

 #header {
    width: 100%;
    height: 120px;
 }

 #header .h-top {
    width: 100%;
    height: 80px;
 }

 #header .h-top .icon {
    position: absolute;
    left: 142px;
    /* 垂直居中*/
    height: 60px;
    top: 50%;
    line-height: 60px;
    margin: -30px 0 0 0;
 }

 #header .h-top a {
    /* 布局*/
    position: absolute;
    right: 35px;
    bottom: 10px;
    /* 字体*/
    font-size: 12px;
    color: rgb(153, 153, 153);
    /* 背景图*/
    background: url(../img/q-icon.png) no-repeat 0 center;
    padding-left: 20px;
 }

 #header .h-top a:hover {
    color: red;
    text-decoration: underline;
 }


 #header .h-bootom {
    width: 100%;
    height: 40px;
    background-color: rgb(255, 248, 240);

    /* 让父标签水平居中*/
    text-align: center;
 }

 #header .h-bootom,
 .top-top {
    /* background-color: chartreuse; */
    display: inline;
 }
 /*用图片标签做 */

 #header .h-bootom div p,
 .top-top p {
    font-size: 12px;
    color: rgb(153, 153, 153);

    display: inline;
 }

 #header .h-bootom div img,
 .top-top img {
    top: 9px
 }

 #header .h-bootom p a {
    color: rgb(40, 40, 40);
 }

 #header .h-bootom p a:hover {
    text-decoration: underline;
 }
 /* 用背景图的时候*/
 /* #header .h-bootom p{
     text-align: center;
     height: 40px;
     line-height: 40px;
     
     color: rgb(153,153,153);
     font-size: 12px;
     
     background: url(../img/warning.png) no-repeat 220px center;
 }
 #header .h-bootom p a{
     color: rgb(40,40,40);
 }
 #header .h-bootom p a:hover{
     text-decoration: underline;
 } */
 /*==========2.content========= */
 /* 内容顶部*/

 #content {
    width: 100%;
    height: 514px;

    background: url(../img/QQ截图20180816144141.png) no-repeat 20% center;
    background-color: rgb(11, 142, 212);
 }

 #content .input_div {
    width: 344px;
    height: 438px;
    background-color: white;

    position: absolute;
    top: 10px;
    right: 110px;
 }
 /* 登录框顶部*/

 #content .input_div .info-top {
    height: 100px;
    background-color: rgb(255, 248, 240);
    text-align: center;
 }

 #content .input_div .info-top .top-bottom {
    height: 55px;
    width: 100%;
    background-color: white;
    position: absolute;
    bottom: 0px;
    /*设置竖线的颜色 */
    color: rgb(200, 200, 200);

    border-bottom: 1px solid rgb(220, 220, 220);
 }

 #content .input_div .info-top .top-bottom button {
    width: 150px;
    height: 55px;

    border: 0;
    background-color: rgba(0, 0, 0, 0);

    font-size: 20px;
    color: rgb(53, 53, 53);
 }

 #content .input_div .info-top .top-bottom button:hover {
    color: #FF0000;
 }

 #content .input_div .info-top .top-bottom button:focus {
    color: #FF0000;

    /*按钮和输入框成为焦点狗默认的边框,是outline */
    outline: none;
 }
 /*登录框中部 */

 #content .input_div .info-middle {
    height: 288px;
    background-color: white;
    position: relative;
 }
 /*用户名和密码 输入*/

 #content .input_div .info-middle .username,
 #content .input_div .info-middle .password {
    background-color: white;
    width: auto;
    height: 40px;

    position: absolute;
    left: 20px;
    right: 20px;
    top: 40px;

    border: 1px solid rgb(100, 100, 100);
 }

 #content .input_div .info-middle .password {
    top: 110px;
 }

 #content .input_div .info-middle img {
    float: left;
    height: 100%;
    border: 0px solid rgb(100, 100, 100);
 }

 #content .input_div .info-middle input {
    border: 0;
    float: left;

    height: 100%;
    width: auto;

    padding-left: 15px;
 }
 /* 设置成为焦点时候的样式*/

 #content .input_div .info-middle input:focus {
    outline: none;
 }

 #content .input_div .info-middle a {
    /* float: right; */
    position: absolute;
    top: 180px;
    right: 20px;

    font-size: 12px;
    color: rgb(120, 120, 120);
 }

 #content .input_div .info-middle a:hover {
    color: red;
    text-decoration: underline;
 }
 /* 登录按钮*/
#content .input_div .info-middle button {
    font-size: 25px;
    letter-spacing: 25px;
    font-weight: normal;
    color: white;
    width: 304px;
    height: 42px;
    background-color: #FF0000;
    position: absolute;
    bottom: 35px;
    left: 20px;
 }
 
 /*登录框底部 */

 #content .input_div .info-bottom {
    height: 50px;
    border-top: ;
    background-color: white;
    border-top: 1px solid rgb(220, 220, 220);
    position: relative;
 }
 #content .input_div .info-bottom{
     width: 100%;
     
     line-height: 37px;
 }
 #content .input_div .info-bottom .qq{
     position: absolute;
     left: 20px;
     top: 10px;
 }
 #content .input_div .info-bottom font{
     color: rgb(200,200,200);
     position: absolute;
     left: 50px;
     top: 3.5px;
 }
 #content .input_div .info-bottom .line{
     position: absolute;
     left: 60px;
     top: 10px;
 }
 #content .input_div .info-bottom .regist img{
     position: absolute;
     top: 8px;
     right: 62px;
 }
 #content .input_div .info-bottom .regist{
    position: absolute;
    top: 5px;
    right: 20px;
 }
 
 /*==========3.footer========= */

 #footer {
    width: 100%;
    height: 86px;
    background-color: white;
    position: relative;
 }
 #footer .footer-a{
     font-size: 12px;
     
     position: absolute;
     top: 15px;
     left: 290px;
     
 }
 #footer .footer-a a{
     color: black;
 }
 /* #footer .footer-a:hover{
     color: #FF0000;
     text-decoration: underline;
 } */

 #footer .footer-p{
     font-size: 12px;
     position: absolute;
     top: 40px;
     left: 480px;
 }

image.png
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 218,204评论 6 506
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 93,091评论 3 395
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 164,548评论 0 354
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 58,657评论 1 293
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 67,689评论 6 392
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 51,554评论 1 305
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 40,302评论 3 418
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 39,216评论 0 276
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 45,661评论 1 314
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 37,851评论 3 336
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 39,977评论 1 348
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 35,697评论 5 347
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 41,306评论 3 330
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 31,898评论 0 22
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 33,019评论 1 270
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 48,138评论 3 370
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 44,927评论 2 355

推荐阅读更多精彩内容