Skip to content

Instantly share code, notes, and snippets.

@anoopd
Created November 20, 2012 06:31
Show Gist options
  • Save anoopd/4116401 to your computer and use it in GitHub Desktop.
Save anoopd/4116401 to your computer and use it in GitHub Desktop.
CSS:Drop Caps CSS3 Way (No IE<9 Support)
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris tristique lobortis orci ac lacinia. Fusce eu purus eget diam vehicula auctor nec eu elit. Morbi consequat facilisis orci vel malesuada. Donec ultrices molestie sollicitudin. Aliquam pharetra libero enim. Donec et suscipit massa. Donec dui odio, dignissim non sodales et, tincidunt a sapien. Phasellus elit nibh, adipiscing sed blandit vel, interdum et arcu.
</p>
p:first-child:first-letter { float: left; color: #903; font-size: 75px; line-height: 60px; padding-top: 4px; padding-right: 8px; padding-left: 3px; font-family: Georgia; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment