Interview Question

What is CSS?

CSS describes the presentation and layout of documents such as HTML.

💡 Concept ✅ Quick Revision 🎨 CSS

Answer

CSS is a style-sheet language used to describe how structured documents are presented. β€’ It controls visual details such as color, spacing, fonts, and borders. β€’ It also provides layout systems such as Flexbox and Grid. β€’ CSS normally changes presentation without changing the document’s meaning.

💡 Simple Example

h1 { color: navy; margin-block-end: 1rem; }

⚡ Quick Revision

CSS describes the presentation and layout of documents such as HTML.