I have one select
which has some established styles. The problem is that I see it differently in Chrome and in Firefox and I would like to have a style that is at least similar or similar.
The code I use is:
#seleccionar{
background-color:transparent;
color:#259af0;
text-transform: none;
border:none;
}
#seleccionar:focus{
outline:none;
}
<select id="seleccionar">
<option>Prueba 1</option>
<option>Prueba 2</option>
</select>
In Chrome it looks like this:
While in Firefox there is another:
With what styles can I assimilate them in different browsers?
They
selects
tend to change their appearance a lot from browser to browser.Depending on your browser support needs you can use
appearance
what is supported by most browsers except IE9 (for a change) with their respective vendor prefix .It's the only way I've managed to make them all look uniform in different browsers (except the one that shouldn't be named) using just css