Created
April 27, 2013 00:07
-
-
Save brianbroken/5471266 to your computer and use it in GitHub Desktop.
CSS: text selection colour
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
| /* Mozilla based browsers */ | |
| ::-moz-selection { | |
| background-color: #FFA; | |
| color: #000; | |
| } | |
| /* Works in Safari */ | |
| ::selection { | |
| background-color: #FFA; | |
| color: #000; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment