<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
div{
width: 400px;
height: 300px;
background-color: gray;
margin: 0 auto;
}
.n1{
width: 380px;
height: 30px;
margin: 5px.5px;
border:radius ;5px
}
.n2{
width: 360px;
height: 40px;
background-color: green;
color: white;
border-radius: 5px;
margin: 20px 6%;
border: 0;
}
</style>
</head>
<body>
<div id="">
<form action="" method="">
用户名
<input type="text" name="" id="" value="" class="n1"/>
密码
<input type="password" name="" id="" value="" class="n1"/>
<input type="submit" name="" id="" value="登录" class="n2"/>
</form>
</div>
</body>
</html>