Posted By

reynish on 07/30/10


Tagged

css em fonts


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

amasters
joacoleo
sethmbruce


CSS Fonts Template


 / Published in: CSS
 

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

  1. body {font-size:62.5%;}
  2.  
  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;}
  9.  
  10. #navigation {font-size:1em}
  11. #content {font-size:1.6em}
  12. #sidebar {font-size:1em}
  13. #footer {font-size:0.9em}
  14.  
  15. a:link, a:visited {}
  16. a:hover, a:visited {}

Report this snippet  

You need to login to post a comment.