<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
body{
width: 100vw;
height:100vh ;
background: url(img/背景.jpg) no-repeat center/100% 100%;
}
.big{
width:1500px;
height: 500px;
background: url(./img/logo.png) no-repeat;
}
.left{
width: 500px;
height: 50px;
}
.right{
width: 500px;
height: 50px;
float: right;
}
.right1{
width: 200px;
height: 50px;
float: left;
border: 1px solid white;
border-radius: 100px;
text-align: center;
margin-top: 10px;
line-height: 50px;
color: white;
}
.right1:hover{
border: 5px solid #FFFFFF;
}
.right2{
width: 200px;
height: 50px;
margin-top: 10px;
border: 1px solid white;
border-radius: 100px;
margin-left: 300px;
text-align: center;
line-height: 50px;
color: white;
}
.right2:hover{
border: 5px solid #FFFFFF;
}
.kk{
width:400px;
height: 450px;
background-color: #FFFFFF;
border-radius: 10px;
position: absolute;
transform: translate(-50%,-50%);
left: 50%;
top: 50%;
}
ul,li{
list-style: none;
}
.zhanghao ul li{
float: left;
margin-left: 20px;
font-size: 20px;
margin-bottom: 20px;
}
.zhanghao ul li:hover{
color: orange;
}
.yonghu{
width: 300px;
height: 40px;
margin-left: 30px;
margin-top: 10px;
}
.mima{
width:300px;
height: 40px;
margin-top: 20px;
margin-left: 30px;
}
.dx{
margin-left: 30px;
}
.wj{
float: right;
margin-right: 20px;
}
.denglu{
width: 300px;
height: 40px;
background-color: orange;
border-radius: 5px;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
text-align: center;
line-height: 50px;
}
.liji{
text-align: center;
margin-top: 20px;
}
.gengduo{
width:360px ;
height: 50px;
}
ul,li{
list-style: none;
}
.gengduo ul li{
float: left;
margin-left:10px;
}
.h1{
width: 100px;
height: 2px;
margin-top: 20px;
background-color: whitesmoke;
}
.duo{
text-align: center;
margin-top: 10px;
}
.h2{
width: 100px;
height: 2px;
margin-top: 20px;
background-color: whitesmoke;
}
.tu ul li{
float: left;
margin-left: 40px;
}
</style>
</head>
<body>
<div class="big">
<div class="left"></div>
<div class="right">
<div class="right1">注册</div>
<div class="right2">返回首页</div>
<div class="kk">
<div class="zhanghao">
<ul>
<li>账号登录</li>
<li>验证码登录</li>
</ul>
</div>
<div class="yonghu">
<input type="text" value="用户名/Email/手机">
</div>
<div class="mima">
<input type="password" placeholder="请输入登录密码">
</div>
<div class="dx">
<input type="checkbox" name="aihao">
<span>下次自动登录</span>
<p class="wj"><a href="#">忘记用户名/密码</a></p>
<div class="denglu">登录</div>
<p class="liji"><a href="#">立即登录</a></p>
<div class="gengduo">
<ul>
<li class="h1"></li>
<li class="duo">更多登录方式</li>
<li class="h2"></li>
</ul>
</div>
<div class="tu">
<ul>
<li ><img src="img/QQ.PNG"></li>
<li ><img src="img/微信.PNG"></li>
<li ><img src="img/企业微信.PNG"></li>
</ul>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
body{
width: 100vw;
height:100vh ;
background: url(img/背景.jpg) no-repeat center/100% 100%;
}
.big{
width:1500px;
height: 500px;
background: url(./img/logo.png) no-repeat;
}
.left{
width: 500px;
height: 50px;
}
.right{
width: 500px;
height: 50px;
float: right;
}
.right1{
width: 200px;
height: 50px;
float: left;
border: 1px solid white;
border-radius: 100px;
text-align: center;
margin-top: 10px;
line-height: 50px;
color: white;
}
.right1:hover{
border: 5px solid #FFFFFF;
}
.right2{
width: 200px;
height: 50px;
margin-top: 10px;
border: 1px solid white;
border-radius: 100px;
margin-left: 300px;
text-align: center;
line-height: 50px;
color: white;
}
.right2:hover{
border: 5px solid #FFFFFF;
}
.kk{
width:400px;
height: 450px;
background-color: #FFFFFF;
border-radius: 10px;
position: absolute;
transform: translate(-50%,-50%);
left: 50%;
top: 50%;
}
ul,li{
list-style: none;
}
.zhanghao ul li{
float: left;
margin-left: 20px;
font-size: 20px;
margin-bottom: 20px;
}
.zhanghao ul li:hover{
color: orange;
}
.yonghu{
width: 300px;
height: 40px;
margin-left: 30px;
margin-top: 10px;
}
.mima{
width:300px;
height: 40px;
margin-top: 20px;
margin-left: 30px;
}
.dx{
margin-left: 30px;
}
.wj{
float: right;
margin-right: 20px;
}
.denglu{
width: 300px;
height: 40px;
background-color: orange;
border-radius: 5px;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
text-align: center;
line-height: 50px;
}
.liji{
text-align: center;
margin-top: 20px;
}
.gengduo{
width:360px ;
height: 50px;
}
ul,li{
list-style: none;
}
.gengduo ul li{
float: left;
margin-left:10px;
}
.h1{
width: 100px;
height: 2px;
margin-top: 20px;
background-color: whitesmoke;
}
.duo{
text-align: center;
margin-top: 10px;
}
.h2{
width: 100px;
height: 2px;
margin-top: 20px;
background-color: whitesmoke;
}
.tu ul li{
float: left;
margin-left: 40px;
}
</style>
</head>
<body>
<div class="big">
<div class="left"></div>
<div class="right">
<div class="right1">注册</div>
<div class="right2">返回首页</div>
<div class="kk">
<div class="zhanghao">
<ul>
<li>账号登录</li>
<li>验证码登录</li>
</ul>
</div>
<div class="yonghu">
<input type="text" value="用户名/Email/手机">
</div>
<div class="mima">
<input type="password" placeholder="请输入登录密码">
</div>
<div class="dx">
<input type="checkbox" name="aihao">
<span>下次自动登录</span>
<p class="wj"><a href="#">忘记用户名/密码</a></p>
<div class="denglu">登录</div>
<p class="liji"><a href="#">立即登录</a></p>
<div class="gengduo">
<ul>
<li class="h1"></li>
<li class="duo">更多登录方式</li>
<li class="h2"></li>
</ul>
</div>
<div class="tu">
<ul>
<li ><img src="img/QQ.PNG"></li>
<li ><img src="img/微信.PNG"></li>
<li ><img src="img/企业微信.PNG"></li>
</ul>
</div>
</div>
</div>
</body>
</html>