CSS Introduction
Introduction to CSS
CSS (Cascading Style Sheets) is used to style and layout web pages.
It allows you to apply colors, fonts, spacing, and animations to HTML elements.
Key Features of CSS:
- Controls layout and design of web pages
- Supports responsive design for mobile and desktop
- Can be used internally, externally, or inline
Example CSS Code:
body {
background-color: #f4f4f4;
font-family: Arial, sans-serif;
}
h1 {
color: blue;
text-align: center;
}