Skip to content

What is CSS? Definition and explanations

CSS (Cascading Style Sheets) is the language that describes an HTML document's presentation: colours, typography, spacing, layout, animation. It separates content from appearance, so a site can be restyled without touching its text. Its modern mechanisms — Flexbox, Grid, custom properties, media queries — carry most of today's responsive interfaces.

In one sentence

CSS describes an HTML page's presentation, separately from its content.

Related terms

Sources and references

Glossary