Created
May 24, 2013 13:11
-
-
Save trumball/5643404 to your computer and use it in GitHub Desktop.
Custom Text Selection
Some newer web browsers will allow you to define the highlight color on your webpage. This is set to light blue by default, but you can setup any color value which tickles your fancy. This snippet includes the typical ::selection target along with vendor prefixes for Webkit and Mozilla.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::selection { background: #e2eae2; } | |
::-moz-selection { background: #e2eae2; } | |
::-webkit-selection { background: #e2eae2; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment