完整的京东界面



    
        
        京东-欢迎登陆
         
         
         
         
    
    
         
        
        
         
        

京东不会以任何理由要求您转账汇款,谨防诈骗。

|
忘记密码
 /* =====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

你可能感兴趣的:(完整的京东界面)