Created
August 10, 2015 13:17
-
-
Save lucasdidthis/3f11274f59dd2514390c to your computer and use it in GitHub Desktop.
how to add drop caps to your website (example)
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
article p{ | |
font-family: sans-serif; | |
} | |
article p:first-child::first-letter{ | |
float: left; | |
display: block; | |
font-family: serif; | |
font-weight: bold; | |
font-size: 2em; | |
line-height: 2em; | |
padding: 0 0.5em 0 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment