我曾尝试给它上课并更改一些小东西(如字体或背景),但它没有响应。
最佳答案
<style>
.button {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
</style>
<input type="button" class="button" value=" Button">
关于html - 你如何设计类型为 ="file"或类型为 ="submit"的按钮?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41189787/