CSS (Cascading Style Sheets) is the language used to style and design web pages. It controls everything from colors and fonts to layouts and animations, turning basic HTML into a beautiful user interface.
The standard CSS rule consists of a selector and a declaration block:
selector {
property: value;
property: value;
}
This rule changes all paragraph text color to vibrant purple:
p {
color: #8b5cf6;
font-size: 18px;
}