Lesson 2: CSS Basics & Layout


  1. Syntax: declaration blocks
  2. Properties: Units, Background, Color, Margin, Padding, Border, Width, Height
  3. Classes, divs
  4. The natural flow of a page
  5. Floats and Clear
  6. multiple classes, nesting divs
  7. Absolute, Relative and Fixed Positioning (z-index)
  8. View source and Inspector

In-class examples

Wkshp 4 boxes
Wkshp 4 positioning
Divs, floats, css properties
Positioning example

CSS Basics

CSS Positioning


Leave a Reply