Created
February 5, 2015 07:32
-
-
Save csssecrets/80eafefae35d26979972 to your computer and use it in GitHub Desktop.
Letterpress
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
/** | |
* Letterpress | |
*/ | |
body { | |
font: 250%/1.6 Baskerville, Palatino, serif; | |
} | |
p { | |
padding: .8em 1em; | |
background: hsl(210, 13%, 60%); | |
color: hsl(210, 13%, 30%); | |
text-shadow: 0 1px 1px hsla(0,0%,100%,.8); | |
} | |
p + p { | |
background: hsl(210, 13%, 30%); | |
color: hsl(210, 13%, 60%); | |
text-shadow: 0 -1px 1px black; | |
} |
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
<p>“The only way to get rid of a temptation is to yield to it.”</p> | |
<p>“The only way to get rid of a temptation is to yield to it.”</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
// alert('Hello world!'); |
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","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment