Ashley Cameron Design

Ashley Cameron Design

Drop Cap Letter

This post was last updated: Sep 3, 2020
CSSSnippets

About a 1 minute read

"The passion that we seek is within every experience; we just have to find it."

Ashley N Cameron


1
2
3
4
5
/* Browser compatible */
.firstcharacter { float: left; color: #903; font-size: 75px; line-height: 60px; padding-top: 4px; padding-right: 8px; padding-left: 3px; font-family: Georgia; }
       
/* CSS3 however it doesn't work on IE9 or less */
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; }