Interview Question

What are the advantages of CSS?

CSS improves reuse, consistency, adaptability, and maintainability.

💡 Concept ✅ Quick Revision 🎨 CSS

Answer

CSS provides reusable rules for styling and laying out documents. • Shared style sheets reduce repeated presentation code. • The cascade allows defaults, components, states, and overrides to work together. • Responsive and user-preference queries support different environments.

💡 Simple Example

:root { color-scheme: light dark; }

⚡ Quick Revision

CSS improves reuse, consistency, adaptability, and maintainability.