Answers for "text selected color 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

css selected color

::selection {
    background-color: #222;
    color: white;
}
Posted by: Guest on May-06-2020

Browse Popular Code Answers by Language