2
My form has the inputs with the placeholder
in white and background
transparent, to make everything uniform I need to put the select field in the same style; background
transparent and font
in white, but if I use;
select option {
color: white;
}
the options when displayed disappear as in the image below.
I have tried to put only the option selected with;
select option:selected {
color: white;
}
Only I didn’t get a hit.
The options would be:
Leave the color of
:selected
white, so you wouldn’t have to touchoption
Leave the
option
transparent (which does not seem possible)
I’m using the framework Bulma
and the structure of HTML is as follows::
<p class="control is-expanded">
<select class="select" name="assunto" required >
<option value="selecione" selected="" disabled="">Selecione o assunto</option>
<option value="selecione">Outra opção</option>
...
</select>
</p>
You managed to paint the background of this select of transparent?
– Edson Horacio Junior
yes @Edsonhoraciojunior you can see by the print I posted, conseugi put the
select
transparent, the options do not...– RFL
Options are white background, non-transparent.
– Edson Horacio Junior