<button type="submit" value="Log in" class="btn btn-lg btn-link" style="color: grey;"><i class="glyphicon glyphicon-log-in" style="font-size: xx-large"></i></button>
我添加了内联样式来更改按钮样式属性。现在当我将鼠标指针悬停在它上面时它不会改变不透明度。有没有办法指定?我正在使用 Twitter Bootstrap 3.0
最佳答案
.btn-link:hover{
opacity: 0.5;
}
您需要为 .btn-link 添加不透明度,这样才不会影响您网站上的所有按钮
关于css - 更改悬停 Bootstrap 的不透明度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38518244/