<button class="btn">确认</button>
.btn:avtive {
background: red; //点击后的颜色
}
CSS点击改变颜色
最新推荐文章于 2024-06-29 23:22:36 发布
<button class="btn">确认</button>
.btn:avtive {
background: red; //点击后的颜色
}