Answers for "how to change the color the selection in css"

1

how to change selection color of text in css

::-moz-selection { /* Code for Firefox */
  color: red;
  
  background: yellow;
}

::selection {
  color: red;
  background: 
  yellow;
}
Posted by: Guest on April-17-2021
1

How to change selection color

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

Code answers related to "how to change the color the selection in css"

Browse Popular Code Answers by Language