🎨 Introduction to CSS

📖 What is CSS?

CSS (Cascading Style Sheets) is the language used to style HTML pages. It lets you control layout, colors, fonts, spacing — basically, how everything looks on your webpage.

📝 How to Apply CSS

🖥️ Basic CSS Syntax

selector {
  property: value;
}

Example:

p {
  color: red;
}

🎯 CSS Selectors

💅 Styling Text and Boxes

Styled Box Example

This box is styled using CSS properties.

📦 The CSS Box Model

📝 CSS Quick Quiz

1. What is CSS used for?

2. Correct CSS syntax for setting paragraph text color?

3. What does the margin property do?

💡 Pro Tip: Organizing your CSS into external files keeps your code clean, easy to maintain, and fast to update!