Answers for "change the colour of text selection 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

Code answers related to "change the colour of text selection css"

Browse Popular Code Answers by Language