Skip to Content
HTML and CSS Advanced: Styles That Hold Up in Production
Advanced
0 likes
Courses
HTML and CSS Advanced: Styles That Hold Up in Production

Check Yourself: Ship and Maintain

Five scenario questions on tokens, theming, redesign-proof CSS and audits. If you miss more than one, reread the lesson that covers it.

Course content

Sign in to save your progress.

Course Home
2. A dark theme is built with color-scheme: light dark and light-dark() tokens. A visitor clicks a toggle that sets data-theme="dark". What makes the toggle win over the OS setting?
3. A multi-brand site defines --brand-hover: color-mix(in srgb, var(--brand) 85%, black) only on :root. The harbor brand sets its own --brand on a [data-brand] element, but the hover colour stays blue. Why?
4. A redesign breaks a rule written as .sidebar > div:nth-child(2) > p { color: red } after a developer wraps the paragraph in one more div. What is the lasting fix?

About

Five scenario questions on tokens, theming, redesign-proof CSS and audits. If you miss more than one, reread the lesson that covers it.

Duration
5 min
Last update
08/05/2026
Was this helpful?
​ 0 ​ 0

Comments (0)

Sign in to comment

No comments yet.