My form has the inputs with 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
white, however if I use;
select option {
color: white;
}
The options when displayed disappear as in the image below.
I'vetriedtoputonlytheselectedoptionwith;
selectoption:selected{color:white;}
Ijustdidnotgetresults.
Theoptionswouldbe:
Leavethecolorof:selected
white,soyouwouldnothavetotouchtheoption
Leaveoption
transparent(whichdoesnotseemtobepossible)
I'musingtheframework Bulma
and the HTML structure 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>