CSS Fonts Template

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

Found this online somewhere. It\'s now the starting point for all my CSS font layouts

Copy this code and paste it in your HTML
  1. body {font-size:62.5%;}
  3. /* Fonts */
  4. h1, h2, h3, h4, p, ol, ul, dl, blockquote {margin-bottom:1em;}
  5. h1 {font-size:2.6em;}
  6. h2 {font-size:2.4em;}
  7. h3 {font-size:2.2em;}
  8. h4 {font-size:2em;}
  10. #navigation {font-size:1em}
  11. #content {font-size:1.6em}
  12. #sidebar {font-size:1em}
  13. #footer {font-size:0.9em}
  15. a:link, a:visited {}
  16. a:hover, a:visited {}

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.