定义一个btn-primary的按钮为绿色,可是设置了所有的伪类后按住时的颜色依旧是默认的蓝色。请问需要怎么定义css
.btn-primary:active { background-color: green !important; }
less去官网定义
2 回答1.2k 阅读