Skip to content
Technology

What is CSS?

CSS (Cascading Style Sheets) is the code that styles web pages — controlling colors, fonts, spacing, and layout. While HTML provides the structure, CSS makes it look good and adapt to different screen sizes.

See it, don’t just read it.
Watch a 2-minute lesson with voice + animation that explains css.
▶ Watch the visual lesson

Key things to understand

  • 1CSS stands for Cascading Style Sheets.
  • 2It controls the look of web pages: colors, fonts, layout.
  • 3HTML handles structure; CSS handles presentation.
  • 4It enables responsive design that adapts to any screen.

Frequently asked questions

What is CSS used for?
Styling web pages — setting colors, fonts, spacing, and layout so they look good across devices.
What's the difference between HTML and CSS?
HTML structures the content; CSS controls how that content looks and is arranged.
What does 'cascading' mean in CSS?
Rules can override each other based on order and specificity, 'cascading' down to decide the final style.

Related topics