Skip to main content

Home/ CSS Evangelist/ Group items tagged mediaqueries

Rss Feed Group items tagged

Vernon Fowler

Confused About REM and EM? | Jeremy Church - 0 views

  • Use REM for consistent padding and margins
  • update font sizes and padding within a media query
  • @media screen and (min-width: 1400px) {   html { font-size: 1.25em; } }
  • ...2 more annotations...
  • If a style sheet is built in a modular fashion, then rem shouldn’t be needed very often, but it can be handy at times.
  • The initial values are calculated by incrementing 1em(16px) at a 1:1.2 ratio.
1 - 2 of 2
Showing 20 items per page