Skip to content

Instantly share code, notes, and snippets.

@harisenbon
Created August 15, 2014 04:36
Show Gist options
  • Save harisenbon/8f4ed87ea865cc58e3d4 to your computer and use it in GitHub Desktop.
Save harisenbon/8f4ed87ea865cc58e3d4 to your computer and use it in GitHub Desktop.
Creating a Descender (drop cap) in CSS
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