<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!--设置网页标题-->
<title>京东,欢迎登陆</title>
<!--link标签:导入文件
设置图标
rel:icon(设置网页图标),stylesheet(样式表)
type:文件类型/文件的后缀(text--文本,)
-->
<link rel="icon" type="image/ico" href="img/icon.ico"/>
<!--添加样式-->
<link rel="stylesheet" type="text/css" href="css/JD-CSS.css"/>
</head>
<body>
<!--==========顶部==========-->
<div id="top">
<!--顶部的顶部-->
<div id="banner">
<img id="img1" src="img/logo.png"/>
<img id="img2" src="img/l-icon.png"/>
<a target="_blank" href="https://surveys.jd.com/index.php?r=survey/index/sid/568245/lang/zh-Hans">登录页面,调查问卷</a>
</div>
<!--顶部的底部-->
<div id="message">
<p>
依据《网络安全法》,为保障您的账户安全和正常使用,请尽快完成手机号验证! 新版<a target="_blank" href="https://about.jd.com/privacy/">《京东隐私政策》</a>已上线,将更有利于保护您的个人隐私。
</p>
</div>
</div>
<!--==========内容==========-->
<div id="content">
<img id="img1" src="img/bg2.png"/>
<!--=====登录框=====-->
<div id="login">
<!--登录框顶部-->
<div id="div1">
<div id="text">
<p><img id="img2" src="img/warning.png"/>京东不会以任何理由要求您转账汇款,谨防诈骗。</p>
</div>
<div id="button">
<button id="btn1">扫码登录</button>|
<button id="btn2">账号登录</button>
</div>
</div>
<!--登录框中部-->
<div id="div2">
<div id="username">
<button id="bb11"><img src="img/pygame.png"/></button>
<input type="text" name="username" placeholder="邮箱/用户名/已验证手机" value="" />
</div>
<div id="passwords">
<button id="bb12"><img src="img/password_icon.png"/></button>
<input type="password" name="password" placeholder="密码" value="" />
</div>
<a id="forget" href="">忘记密码</a>
<button id="bb2">登 录</button>
</div>
<div id="div3">
<a id="qq" href="">QQ</a>|
<a id="weixn" href="">微信</a>
<a id="zhuce" href="">立即注册</a>
</div>
</div>
</div>
<!--==========底部==========-->
<div id="bottom">
<div id="a">
<a class="end" href="">关于我们</a>|
<a class="end" href="">联系我们</a>|
<a class="end" href="">人才招聘</a>|
<a class="end" href="">商家入驻</a>|
<a class="end" href="">广告服务</a>|
<a class="end" href="">手机京东</a>|
<a class="end" href="">友情链接</a>|
<a class="end" href="">销售联盟</a>|
<a class="end" href="">京东社区</a>|
<a class="end" href="">京东公益</a>|
<a class="end" href="">English Site</a> |
</div>
<div id=p"">
<p>Copyright © 2004-2018 京东JD.com 版权所有</p>
</div>
</div>
</body>
</html>
/*================通用================*/
*{
margin: 0;
padding: 0;
position: relative;
}
button{
border: 0;
}
button:focus{
outline: 0;
}
/*================顶部================*/
#top{
/*background-color: salmon;*/
height: 120px;
}
/*=====顶部的顶部=====*/
#top #banner{
/*background-color: chartreuse;*/
height: 80px;
}
#top #banner a{
position: absolute;
right: 180px;
bottom: 10px;
font-size: 12px;
color: rgb(138,138,138);
/*去掉下划线*/
text-decoration: none;
/*设置图标*/
/*background:图片地址 是否平铺 x y 颜色
*/
background: url(../img/q-icon.png) no-repeat 0px center;
padding-left: 20px;
}
#top #banner a:hover{
color: red;
text-decoration: underline;
}
#top #banner #img1{
margin-left: 188px;
/*垂直居中*/
position: absolute;
top: 50%;
margin-top: -30px;
line-height: 60px;
}
#top #banner #img2{
position: absolute;
left: 370px;
/*垂直居中*/
top: 50%;
margin-top: -8px;
line-height: 40px;
}
/*=====顶部的底部=====*/
#top #message{
background-color: rgb(255,246,236);
height: 40px;
width: 100%;
}
#top #message p{
font-size: 11px;
color: rgb(138,138,138);
/*float: left;*/
/*垂直方向居中*/
height: 40px;
line-height: 40px;
/*水平方向居中*/
width: 792px;
margin-left: auto;
margin-right: auto;
padding-left: 25px;
background: url(../img/warning.png) no-repeat 0px center;
}
#top #message a{
color: black;
text-decoration: none;
}
#top #message a:hover{
text-decoration: underline;
}
/*================内容================*/
#content{
background-color: rgb(84,161,220);
height: 475px;
}
/*=====内容的背景=====*/
#content img1{
margin-left: 100px;
position: absolute;
top: 50%;
margin-top: -237px;
}
/*====登录框=====*/
#content #login{
background-color: white;
height: 400px;
width: 350px;
position: absolute;
right: 190px;
top: 15px;
}
/*登录框的顶部*/
#content #login #div1{
height: 100px;
/*background-color: aqua;*/
}
#content #login #div1 #text{
height: 40px;
background-color: rgb(255,246,236);
}
#content #login #div1 #text p{
font-size: 11px;
text-align: center;
color: rgb(138,138,138);
height: 40px;
line-height: 40px;
}
#content #login #div1 #text p #img2{
position: absolute;
top: 50%;
margin-top: -12px;
line-height: 25px;
}
#content #login #div1 #button{
height: 60px;
/*background-color: orange;*/
color: rgb(220,220,220);
font-weight: 100;
font-family: "微软雅黑";
}
#content #login #div1 #button button{
height: 100%;
width: 170px;
border: 0;
font-size: 20px;
color: rgb(80,80,80);
background-color: rgba(255,255,255,0);
}
#content #login #div1 #button button:focus{
color: red;
outline: none;
}
#content #login #div1 #button btn2{
float: right;
}
/*登录框的中部*/
#content #login #div2{
height: 250px;
/*background-color: coral;*/
border-top: 1px solid rgb(220,220,220,0.6);
border-bottom: 1px solid rgb(220,220,220,0.6);
}
#content #login #div2 #username,#passwords{
/*background: blue;*/
width: 300px;
height: 40px;
/*水平居中*/
margin-left: auto;
margin-right: auto;
border: 1px solid rgb(200,200,200);
}
/*用户名和密码*/
#content #login #div2 #username{
margin-top: 30px;
}
#content #login #div2 #username #bb11,#bb12{
height: 40px;
width: 40px;
border-right: 1px solid rgb(200,200,200);
}
#content #login #div2 #username #bb11 img,#bb12 img{
width: 100%;
height: 100%;
}
#content #login #div2 #passwords{
margin-top: 20px;
}
#content #login #div2 input{
height: 100%;
width: 250px;
border: 0;
float: right;
padding-left: 10px;
font-size: 13px;
}
#content #login #div2 input:focus{
outline: none;
}
/*忘记密码*/
#content #login #div2 #forget{
position: absolute;
right: 25px;
margin-top: 20px;
font-size: 13px;
color: rgb(138,138,138);
text-decoration: none;
}
#content #login #div2 #forget:focus{
color: red;
text-decoration: underline;
}
#content #login #div2 #bb2{
width: 300px;
height: 35px;
/*水平居中*/
position: absolute;
bottom: 30px;
left: 25px;
border: 0;
background-color: rgb(217,34,46);
color: white;
font-size: 20px;
}
#content #login #div2 #bb2:focus{
outline: none;
}
/*在点击按钮的时候添加边框效果*/
#content #login #div2 #bb2:active{
/*outline: skyblue solid;*/
/*border: 2px solid skyblue;
border-radius: 4px;*/
border-radius: 4px;
box-shadow: 0 0 0 3px skyblue;
}
/*登录框的底部*/
#content #login #div3{
height: 50px;
line-height: 50px;
font-size: 8px;
color: rgb(200,200,200);
}
#content #login #div3 a{
font-size: 12px;
color: rgb(130,130,130);
text-decoration: none;
}
#content #login #div3 a:hover{
color: red;
text-decoration: underline;
}
#content #login #div3 #zhuce{
background: url(../img/right.png) no-repeat 0 center;
padding-left: 25px;
position: absolute;
right: 25px;
}
#content #login #div3 #qq{
background: url(../img/qq.png) no-repeat 0 center;
margin-left: 25px;
margin-right: 15px;
padding-left: 25px;
}
#content #login #div3 #weixn{
background: url(../img/weixin.png) no-repeat 0 center;
margin-left: 5px;
padding-left: 25px;
}
/*================底部================*/
#bottom{
/*background-color: crimson;*/
height: 105px;
text-align: center;
color: rgb(130,130,130);
}
/*=====第一部分=====*/
#bottom #a{
height: 50px;
/*background-color: bisque;*/
line-height: 50px;
font-size: 12px;
}
#bottom #a a{
margin-left: 10px;
margin-right: 15px;
color: rgb(130,130,130);
text-decoration: none;
}
#bottom #a a:hover{
text-decoration: underline;
color: red;
}
/*=====第二部分=====*/
#bottom p{
text-align: center;
}
网友评论