Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经浏览了它的 css 代码,但无法找到它应用于主要元素的实际属性。
我正在对 select2 库进行一些更改,以便我可以按照自己的方式使用它。我被困在它的 CSS 中,没有得到从哪个属性边框显示在活动或焦点元素上。
没有找到任何内容:active selector,css或者我也在js文件中检查了它,但调试时没有显示应用于该元素的任何 CSS。
:active
selector
css
js
plunkr 的链接
元素边框的图像。
解决
span.select2-selection.select2-selection--single { outline: none; }
更新的 plunkr