RunSnip
Learn to codeOpen the editor
Learn to code/CSS

CSS

How it looks. Selectors, the box model and laying things out.

  1. 1SelectorsSaying which elements a rule is about.
  2. 2Every element is a boxPadding, border, margin — and the one line that makes widths behave.