Created
March 28, 2012 01:55
-
-
Save MichaelArestad/2222830 to your computer and use it in GitHub Desktop.
Selection Fail
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 Fail | |
*/ | |
*::-moz-selection { | |
background: red; | |
color: white; | |
} | |
html { | |
background: #f06; | |
background: linear-gradient(45deg, #333, #555); | |
min-height: 100%; | |
} | |
*::selection { | |
background: red; | |
color: white; | |
} | |
h1, h2 { | |
font-size: 1.3em; | |
color: white; | |
text-align: center; | |
} | |
p { | |
padding: 20px; | |
background: white; | |
} | |
p:before { | |
content: "This isn't highlighting correctly. "; | |
font-weight: bold; | |
text-transform: uppercase; | |
} |
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
<h1>Go ahead and highlight everything.</h1> | |
<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec sed odio dui. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p> |
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
{"view":"split-vertical","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment