Courses
HTML and CSS Advanced: Styles That Hold Up in Production
Check Yourself: Architecture That Scales
Five scenario questions on layers, specificity and when to skip a framework. If you miss more than one, reread the lesson that covers it.
Course content
Join this Course
Sign in to save your progress.
-
Architecture That Scales
-
Modern CSS Without a Framework Crutch
-
Cascade Layers and Specificity You Control
-
-
-
Layout Systems for Real Sites
-
Complex Grids and Nested Layout Patterns
-
Container Queries When the Component Is the Breakpoint
-
-
-
Motion and Interaction Done Right
-
Transitions and Animations That Don't Annoy People
-
prefers-reduced-motion and Respecting the User
-
-
-
Performance and Delivery
-
Critical CSS and What Blocks First Paint
-
Font Loading Without Layout Jump
-
Responsive Images: srcset, sizes and Lazy Load
-
-
-
Ship and Maintain
-
Design Tokens and Theming Without Duplicating Everything
-
CSS That Survives a Redesign
-
Audit Accessibility and Visual Regressions Before Launch
-
-
- Final Check: HTML and CSS Advanced
1.
A vendor stylesheet uses #page .toolbar a.btn.btn-primary, and your new .btn rule loses to it. You cannot edit the vendor file. What is the cleanest fix with cascade layers?
2.
You wrap reset.css in @layer reset but leave the rest of the site's CSS unlayered. A reset rule now loses to every site rule, even a weak one. What did you forget?
3.
Two !important declarations compete: one in the base layer, one in the later utilities layer. Which wins?
4.
Which choice fits a project that needs a reset, a spacing scale and a responsive grid and has no design team?
5.
You put :where(h1, h2, h3) { margin: 0 } in your base styles. Later, .page-title { margin: 1rem 0 } does not apply. What is the most likely cause?
About
Five scenario questions on layers, specificity and when to skip a framework. If you miss more than one, reread the lesson that covers it.
- Duration
- 5 min
- Last update
- 08/13/2026
Was this helpful?
0
0
Comments (0)
Sign in to commentNo comments yet.