CSS - Add a drop cap


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.