Answers for "how to change font color of select item"

CSS
1

How to change selection color

::selection{
	background-color: red;
    color: white;
}
Posted by: Guest on February-20-2021
1

html select option text color

<style>
  #selector{
  color:red;
	}
</style>

<select name="" id="selector">
  <option value="1">1</option>
  <option value="2">2</option>
  <option value="3">3</option>
</select>
Posted by: Guest on June-29-2021

Code answers related to "how to change font color of select item"

Browse Popular Code Answers by Language