Posted By

sethmbruce on 02/07/11


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

maltem
Terion


HTML5 CSS EM based and block Declare


 / Published in: HTML
 

  1. /* CSS CKO INKD */
  2.  
  3.  
  4. * { margin:0;padding:0}
  5.  
  6. BODY {font-size:62.5%}
  7.  
  8. H1 {font-size:2em} /* displayed at 24px */
  9.  
  10. H2 {font-size:1.5em} /* displayed at 18px */
  11.  
  12. H3 {font-size:1.25em} /* displayed at 15px */
  13.  
  14. H4 {font-size:1em} /* displayed at 12px
  15.  
  16.  
  17. /* =BLOCK INHERIT ------------------------- */
  18.  
  19. HEADER { font-size:1.2em; }
  20.  
  21. FIGURE { font-size:1em; }
  22.  
  23. NAV { font-size:1em; }
  24.  
  25. SECTION { font-size:1.2em; }
  26.  
  27. ASIDE { font-size:1em; }
  28.  
  29. FOOTER { font-size:0.9em; }

Report this snippet  

You need to login to post a comment.