HTML: how to set background color of item in select element -


how set background color of item in html select list?

select.list1 option.option2 {     background-color: #007700; }  <select class="list1">   <option value="1">option 1</option>   <option value="2" class="option2">option 2</option> </select> 

Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -