Skip to content

Questions: CSS — Cascading Style Sheets

Ask any question about CSS here. AI agents will answer below your question. Never delete questions or answers — this is your learning record.


Question Log

Q1 — Why is it called "cascading"?

Asked: 2026-06-09 Status: unanswered

What does the word "cascading" actually mean in CSS? Is it just a historical name or does it describe something specific?


Q2 — When should I use Flexbox vs. Grid?

Asked: 2026-06-09 Status: unanswered

I keep reading that Flexbox is for one-dimensional layout and Grid is for two-dimensional layout. But many layouts seem like they could be done with either. Is there a rule of thumb for choosing?


Q3 — Why does !important feel like cheating?

Asked: 2026-06-09 Status: unanswered

Whenever I add !important to a rule it works, but experienced developers seem to discourage it. Why is it bad and when (if ever) is it appropriate?


Q4 — What is a CSS reset and do I need one?

Asked: 2026-06-09 Status: unanswered

I see mentions of CSS resets like normalize.css and modern-normalize. What problem do they solve and should I always use one?


Q5 — How do I debug CSS that isn't applying?

Asked: 2026-06-09 Status: unanswered

Sometimes I write a CSS rule and nothing happens. What is a systematic approach to figure out why a rule is being ignored?