<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>会员注册</title>
<link rel="stylesheet" href="./会员注册页面.css">
<link rel="stylesheet" href="./tubiao/font_ry8jo85ftk/iconfont.css">
</head>
<body>
<div class="main">
<div class="login-box">
<div class="header">管理员登陆</div>
<div class="login">
<p>
<label for="zhanghao"><span class="iconfont icon-zhanghaoquanxianguanli">账号:</span></label>
<input type="text" name ="zhanghao" id="zhanghao"
placeholder="请输入账号">
</p>
<p>
<label for="mima"><span class="iconfont .icon-mima">密码:</span></label>
<input type="text"name="mima" id="mima" placeholder="请输入密码">
</p>
<p>
<button>登陆</button>
</p>
</div>
</div>
</div>
</body>
</html>
{
margin: 0;
padding:0;
box-sizing:border-box;
}
html,body{
width:100%;
height:100%;
}
body{
display:flex;
flex-direction:column;
background: linear-gradient(to right, #6495ED, #D8BFD8);
}
.header{
height: 72px;
width:100%;
/ background-color: oldlace; */
display: flex;
justify-content: center;
}
.main{
width:100%;
flex:1;
/* background-color: firebrick; /
display: flex;
justify-content: center;
align-items:center;
}
.login-box{
width:400px;
height:250px;
/ background-color:rosybrown; /
border-radius:8px;
box-shadow: #888 10px 10px 20px;
}
.login{
height: 180px;
/ background-color: khaki; /
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
.login p{
height: 30px;
/ background-color: hotpink; */
display: flex;
justify-content: space-evenly;
align-items: center;
}
.login p input{
width: 260px;
height: 35px;
}
.login p button{
outline:none;
border: none;
width: 300px;
height: 32px;
border-radius: 16px;
background-color: #4872f6;
color: white;
}
.login p button:hover{
background-color: #1e48d0;
font-weight: 700;
}