Skip to content

Instantly share code, notes, and snippets.

@maxt3r
Created November 30, 2011 14:59
Show Gist options
  • Save maxt3r/1409349 to your computer and use it in GitHub Desktop.
Save maxt3r/1409349 to your computer and use it in GitHub Desktop.
Changing text selection color with CSS
::-moz-selection { background: #4DA400; color: #fff; text-shadow: none; }
::selection { background: #4DA400; color: #fff; text-shadow: none; }
@zizzipupp
Copy link

Where do you put these lines of code? Somewhere in the style.scss file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment