这是我的html文件
<body>
<div class="form">
<h2>sign up</h4>
<form action="index.html" method="post" class="register">
//.....
<div class="button">
<button type="submit">Submit</button>
</div>
</form>
</div>
</body>
这是我的css文件
*,*.before,*.after{
box-sizing: border-box;
}
.button button{
display:block;
width:80%;
padding:5px auto;
font-size: 20px;
margin: 0 auto;
margin-bottom: 30px;
}
显示是这样,我想让提交按钮向上移动。