Created
July 27, 2013 22:04
-
-
Save geoffgraham/6096465 to your computer and use it in GitHub Desktop.
A CodePen by Geoff Graham. Style Heading Selections - Just playing off the sweetness over at http://responsive-nav.com/.
This file contains 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>Nice selection, buddy</h1> | |
<p>Highlight the heading and let's see how this works as well as it does <a href="http://responsive-nav.com/">here</a>.</p> |
This file contains 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
@import "compass"; | |
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,800); | |
body { | |
background-image: url(http://subtlepatterns.com/patterns/grey.png); | |
font-family: 'Open Sans'; | |
} | |
h1 { | |
color: #444; | |
font: 800 350%/1.4 'Open Sans', sans-serif; | |
text-transform: uppercase; | |
} | |
h1::selection { | |
-webkit-text-stroke: 4px #fb8a05; | |
color: transparent; | |
} | |
a { | |
color: #fb8a05; | |
text-decoration: none; | |
&:hover { color: #532600; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment