Skip to content

Instantly share code, notes, and snippets.

@Lego2012
Created September 26, 2016 20:19
Show Gist options
  • Save Lego2012/e576c811c3e5aac1c4b29a70bce49ef0 to your computer and use it in GitHub Desktop.
Save Lego2012/e576c811c3e5aac1c4b29a70bce49ef0 to your computer and use it in GitHub Desktop.
Change Text Selection Style
::selection {
color: white;
background-color: red;
}
::-moz-selection /* Firefox needs an extra attention for this */ {
color: white;
background-color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment