Posted By

paulgrenwood on 09/23/09


css dropcaps

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Drop Caps

 / Published in: CSS

You can create a drop caps effect like those in newspapers or magazines using the :first-letter pseudo element.

  1. p:first-letter{
  2. display:block;
  3. margin:5px 0 0 5px;
  4. float:left;
  5. color:#FF3366;
  6. font-size:3.0em;
  7. font-family:Georgia;
  8. }

Report this snippet  

You need to login to post a comment.