CSS (Cascading Style Sheets) is a style language used to design and control the visual appearance of web pages. While HTML is responsible for the structure and content of a webpage, CSS defines how that content should look.
CSS allows you to change colors, spacing, fonts, layout, animations, and overall page design without modifying the HTML code. This separation of structure (HTML) and style (CSS) makes websites easier to maintain and improves performance.
CSS uses rules made of selectors and declarations:
selector {
property: value;
}
p {
color: blue;
font-size: 16px;
}