作者:韩晓亮2602918655 | 来源:互联网 | 2022-12-15 17:29
我有一个Bootstrap按钮,我在样式表中覆盖了样式,因为我想让按钮变暗,现在按钮有一个悬浮效果来自Bootstrap,我怎么能摆脱它?请参阅下面的代码段以获取结果:
.btn-dark {
min-width: 100px;
background-color: black;
color: white;
border-radius: 1px;
text-decoration: none;
opacity:1.0;
box-shadow:none;
}
SEND US A MESSAGE
1> 小智..:
尝试使用:hover选择器并添加更多CSS以指定设计的确切过渡.
.btn-dark:hover {
color: white;
}