Created
October 26, 2011 15:58
-
-
Save gre/1316801 to your computer and use it in GitHub Desktop.
Having fun with CSS headers (h1 and h2)
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 { | |
&:hover:before { | |
content: '> '; | |
} | |
&:hover:after { | |
content: ' <'; | |
} | |
} | |
h2 { | |
&:before { | |
content: '> '; | |
visibility: hidden; | |
} | |
&:hover:before { | |
visibility: visible; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment