简体   繁体   English

在select元素激活时删除select2边框?

[英]Remove select2 border on active of select element?

I have gone through its css code but not able to find its actually property that is being applied on the main element. 我已经完成了它的css代码,但无法找到它在主元素上应用的实际属性。

i'm making some changes in select2 library so that i can use it in my way. 我正在对select2库进行一些更改,以便我可以按照自己的方式使用它。 i trapped in its CSS did not get from which property border displayed on active or focus on element. 我被困在它的CSS中没有得到活动或焦点元素上显示的属性边框。

Did not find any :active selector in css or I also checked it in js file not also there,while debugging not showing any css applied on that element. 没有找到任何:activecss :active selector或我也在js文件中检查它也不在那里,而调试没有显示任何应用于该元素的CSS。

Link for plunkr 链接为plunkr

image of element border. 元素边界的图像。

在此输入图像描述

Resolved 解决

span.select2-selection.select2-selection--single {
        outline: none;
    }

updated plunkr 更新了plunkr

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM