javascript - How to style HTML select option hover and selected option effects -


I'm trying to delete the default blue background on the HTML selection option hover effect, as well as the selected option effects. I am the block of CSS below but it does not work. The idea of ​​things about how it can be achieved.

  select.color-chooser Options: hover {background-color: none! Important; } Select.color-chooser option [selected] {background-color: none! Important; }    

You can not do this, if you want to use jQuery Or similar

This makes HTML listings easier in style.

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -