Return to Snippet

Revision: 12034
at February 28, 2009 02:06 by dsntos


Initial Code
p span.dropcap {float:left;font-size:100px;line-height:0.8;padding:0 10px 10px 0;}

Initial URL

                                

Initial Description
This adds a dropcap to the first letter of a paragraph when you surround it with span. This method is far more efficient than using the :first-letter psuedo class which does not work on all browsers.

Initial Title
Adding Dropcaps to Paragraphs

Initial Tags

                                

Initial Language
CSS