原码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>1</title>
<style>
div {
width: 250px;
height: 400px;
background-color: #415B9D;
margin: 0 auto;
border-radius: 5px;
}
header {
text-align: center;
font-size: 15px;
color: #fff;
font-weight: bold;
padding: 30px;
}
.put1 {
margin-left: 40px;
margin-bottom: 10px;
border-bottom-left-radius: 5px;
border-top-left-radius: 5px;
border: none;
}
.put2 {
margin-left: 40px;
margin-bottom: 10px;
border-radius: 5px;
text-align: center;
font-weight: bold;
width: 171px;
border: none;
background-color: #D9D9D9;
font-size: 10PX;
}
article {
font-weight: bold;
color: #E1E6F0;
text-align: center;
font-size: 5px!important;
}
</style>
</head>
<body>
<form action="">
<div>
<header>博学谷</header>
<input class="put1" type="email" placeholder="Email">
<input class="put1" type="password" placeholder="Password" p>
<input class="put2" type="submit" value="登录">
<article>忘记密码</article>
</div>
</form>
</body>
</html>
第一条博客,记录一下