CSS中,我们可以使用background-color属性来设置按钮的背景色。首先,让我们定义一个按钮的样式:.btn { padding: 10px 20px; border: none; colo
.btn { padding: 10px 20px; border: none; color: white; font-size: 16px; border-radius: 5px; }
.btn { padding: 10px 20px; border: none; color: white; font-size: 16px; border-radius: 5px; background-color: red; }
.special-btn { padding: 10px 20px; border: none; color: white; font-size: 16px; border-radius: 5px; background-color: blue; }
粉丝
0
关注
0
收藏
0