Study
CSC-212 route
Unit 3 · Lesson 3 of 4 20 min

Cascade, Specificity and the Box Model

Specificity decides which CSS rule wins, and the box model decides how much room the winner takes.

What this unit covers

Unit 3: CSS and Bootstrap

  1. 1 CSS Rules and Basic SelectorsYour pages work — now dress them like they are going somewhere important. · 10 min
  2. 2 Class, ID and Attribute SelectorsType selectors paint whole tribes — these three pick out individuals. · 11 min
  3. 3 Cascade, Specificity and the Box ModelSpecificity decides which CSS rule wins, and the box model decides how much room the winner takes. · 20 min
  4. 4 Page Layout and BootstrapFrom stacking boxes to a professional grid — including the framework that does half the work. · 12 min