ms606 / CSS-CheatSheets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSS-CheatSheets

  1. When declaring font size use rem instead of pixel. 1 rem = 16px
  2. When using em the properties like margin-bottom, padding-left, right etc depends on the font-size in that element css. Ex .col--em h1 { font-size: 2.5em; margin-bottom: 1em; }

About