Change the color of selected text

PHOTO EMBED

Wed Mar 24 2021 18:00:36 GMT+0000 (UTC)

Saved by @TheSaw #css

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

::selection {
  color: red;
  background: yellow;
}
content_copyCOPY

This code changes selected text and background color.

https://www.w3schools.com/howto/howto_css_text_selection.asp