Computer science · lesson 2 of 4
CSS layout and cascade
A pattern that chooses which elements a CSS rule targets.
Learn the ideas
Prerequisites: Basic computer literacy.
Selector
A pattern that chooses which elements a CSS rule targets.
Cascade
The rule system that resolves competing CSS declarations.
Box model
The content, padding, border and margin dimensions of an element.
Responsive design
Adapting layout and presentation to different viewport sizes and capabilities.
Worked examples
Which term best matches this description: A pattern that chooses which elements a CSS rule targets.
Selector is the matching concept in this lesson.
Selector
Which term best matches this description: The rule system that resolves competing CSS declarations.
Cascade is the matching concept in this lesson.
Cascade
Check your understanding
8 questionsDecimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.