When styling a form element in Bootstrap 3, it renders an ugly button on the in Firefox on OS X:
I'm sure -webkit-appearance:none
does the trick for Chrome and Safari.
EDIT : -moz-appearance: none
should now work as well on Firefox.
I am using Chosen. Look at: http://harvesthq.github.io/chosen/
It works on Firefox, Chrome, IE and Safari with the same style. But not on Mobile Devices.
With Bootstrap 4+, you can simply add the class custom-select
for your select inputs to drop the browser-specific styling and keep the arrow icons.
Documentation Here: Bootstrap 4 Custom Forms Select Menu
I found two potential ways of solving this specific problem:
Use Chosen
Target mozilla browsers using @-moz-document url-prefix()
like so:
@-moz-document url-prefix() {
select {
padding: 5px;
}
}
You can use jquery.chosen or bootstrap-select to add style to your buttons.Both work great. Caveat for Using Chosen or bootstrap-select: they both hide the original select and add in their own div with its own ID. If you are using jquery.validate along with this, for instance, it wont find the original select to do its validation on because it has been renamed.
You can actually change the grey box around the dropdown arrow in IE:
select::-ms-expand {
width:12px;
border:none;
background:#fff;
}