javascript - add css rules to option within a select -


this question has answer here:

once again need little help

i got need have color of white, option within select wanna make rule front color black.

<select name="example_length" aria-controls="example" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> 

i can't give option id, curse rende javascript.

so know how make select#option color:black or that?

once again thx bunch time.

select option{color:#000000 !important} 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -