Posted By

fuelishways on 06/19/14


Tagged


Versions (?)

rems


 / Published in: CSS
 

Don't forget to set the font-size in the tag

  1. html { font-size:100%; }
  2.  
  3. @media (min-width: 640px) { body {font-size:1rem;} }
  4. @media (min-width:960px) { body {font-size:1.2rem;} }
  5. @media (min-width:1100px) { body {font-size:1.5rem;} }

Report this snippet  

You need to login to post a comment.