What is CSS?
CSS decides how a website looks — colours, fonts, spacing, and layout.
Think of it like this
If HTML is the skeleton, CSS is the clothes and style.
What's happening
Summary
CSS makes websites look nice.
A Closer Look
CSS (Cascading Style Sheets) is a styling language used to control the visual appearance and layout of web pages written in HTML. It defines colors, fonts, spacing, positioning, and responsive design elements that make websites look polished and professional.
Common Misconceptions
- CSS is not a programming language — it can't do calculations or logic on its own.
- CSS doesn't change what's on the page, only how it looks — that's still HTML's job.
- "Cascading" doesn't mean animations — it means styles can inherit and override each other in a predictable order.
How it connects
CSS always works alongside other technologies:
Try it yourself
Press F12 to open DevTools, then click the cursor icon and hover over any element on this page. You'll see its CSS styles listed on the right — try changing a colour value live.