jquery - bootstrap carousel 通过点击图片 Items 添加高亮样式

标签 jquery html css twitter-bootstrap

我正在使用 Bootstrap 轮播,但我遇到了问题。图片没有链接,但通过单击幻灯片的图片,图片会突出显示。这就是我的意思:

enter image description here

如何删除突出显示的样式?

谢谢

最佳答案

使用user-select属性

img{
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

关于jquery - bootstrap carousel 通过点击图片 Items 添加高亮样式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37827872/

相关文章:

ajax - 如何不在页面导航上重新加载页脚

html - Css float 第三个元素,其内容取决于宽度

javascript - 获取位置为 :fixed 的元素的高度

javascript - 当我调整浏览器大小时,Bootstrap Navbar 不起作用

javascript - 来自文本框的动态进度条

css - Bootstrap : vertically align paragraph text and buttons

javascript - Ajax post onbeforeunload 不起作用

Javascript检测悬停是在元素的底部还是顶部填充

javascript - [必填] 字段不适用于下拉框的解决方法

javascript - 显示带有下拉按钮的现有 div?