Answers for "css selection color"

CSS
9

custom selection color css

::selection {
	color: #000000;
	background-color: red;
}

/* for firefox */
::moz-selection {
	color: #000000;
	background-color: red;
}
Posted by: Guest on March-28-2020
5

change highlight color html

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

::selection {
  color: red;
  background: yellow;
}
Posted by: Guest on August-04-2020
2

css selection

::selection {
  background-color: cyan;
}
Posted by: Guest on October-03-2020
1

css selected color

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

Code answers related to "css selection color"

Browse Popular Code Answers by Language