console
<div class="container">
<div class="form-row">
<label for="user_name">邮箱</label>
<input type="text" name="user_name"/>
</div>
<div class="form-row">
<label for="user_password">密码</label>
<input type="text" name="user_password"/>
</div>
<div class="form-row" style="margin-top: 20px;">
<button class="btn-primary">登录</button>
</div>
</div>
body {
background-color: #f1f1f1;
}
.container {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: 200px;
height: 130px;
margin: auto;
padding: 20px;
border: 1px solid #f1f1f1;
border-radius: 8px;
background-color: white;
}
.form-row > label {
display: inline-block;
width: 60px;
height: 40px;
}
.form-row > input {
width: 130px;
}
.btn-primary {
font-size: 16px;
line-height: 24px;
width: 200px;
border: 0;
border-radius: 12px;
background-color: #187cb7;
color: white;
cursor: pointer;
}