Created
August 15, 2014 04:36
-
-
Save harisenbon/8f4ed87ea865cc58e3d4 to your computer and use it in GitHub Desktop.
Creating a Descender (drop cap) in CSS
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
From the NYT Site: | |
.descender:first-letter { | |
font-family: "neutra-face-text","Helvetica Neue",Helvetica,Segoe,"Segoe UI","Segoe WP",Calibri,Arial,clean,sans-serif; | |
font-weight: bold; | |
font-size: 60px; | |
font-size: 6rem; | |
line-height: 10px; | |
line-height: 1rem; | |
margin-right: 2px; | |
margin-top: 30px; | |
display: block; | |
float: left; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment