0
I can’t remove the dashed edge that appears when clicking on an item in a combo box, I’ve tried css3’s Outline:None feature, but it didn’t work. Can someone help me?
Ex:
0
I can’t remove the dashed edge that appears when clicking on an item in a combo box, I’ve tried css3’s Outline:None feature, but it didn’t work. Can someone help me?
Ex:
0
The drop-down window with the options is part of what is called Shadowdom. In current CSS specifications, level 3, there is no way to achieve most Shadowdom elements. You can read the specifications about Shadowdom here, although there’s not much there about what you want.
But there are options like Select2 redesign the entire combobox using Javascript.
Source: https://stackoverflow.com/questions/14056300/select-menu-option-border-none
Thank you very much friend, but the idea is not to reformulate the whole component, only to remove the edge.
Remove the border unfortunately not from, browsers do not support it yet. The good thing about Select2 is that it lets your combobox "cute" without Oce need to mess with your html, just instantiating the method js... worth trying.
Thanks for the tip!
Browser other questions tagged jquery css css3
You are not signed in. Login or sign up in order to post.
Would you kindly post the HTML and CSS code of the page?
– PauloHDSousa
I don’t really have code developed, but it’s a simple select. This component in Mozilla by default has a dashed edge when it suffers mouse click and I wanted to remove it
– Munir Baarini
You can put a print at least?
– PauloHDSousa
Sure! I’ve already entered
– Munir Baarini
Poor dashed edge, doing nothing else...
– PauloHDSousa
I think so too! But you know how it is, the request comes from above.
– Munir Baarini