Posted By

lister on 07/05/11


Tagged


Versions (?)

Drop cap


 / Published in: CSS
 

For hundreds of years, initials have been used to set off the first letter of a chapter or paragraph. Here is how this can be done for your blog! It is surprisingly easy to implement and it degrades well for older browsers.

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

Report this snippet  

You need to login to post a comment.