What is CSS?

DefinitionCascading Style Sheets (CSS) is the style sheet language used to describe how HTML and XML documents are presented, including their layout, colors, fonts, spacing and how they adapt to different screens.

Also known as Cascading Style Sheets

CSS is one of the three core technologies of the web, alongside HTML for structure and JavaScript for behavior. Keeping presentation in CSS lets the same content be styled differently for screens, print and user preferences such as dark mode.

Rules in CSS pair selectors with declarations, and the cascade decides which rule wins when several apply, based on origin, specificity and order. Modern CSS includes powerful layout systems such as CSS Grid and Flexbox, along with container queries, custom properties and animations.

The language is developed as a set of modules by the CSS Working Group at the W3C, and browsers ship new features as those modules mature.

CSS resources

Common questions about CSS

Who created CSS?

Håkon Wium Lie proposed CSS in 1994 while working at CERN, and he developed it with Bert Bos. The W3C published CSS level 1 as a Recommendation in 1996.

Is there a CSS4?

No. After CSS 2.1, CSS was split into separately versioned modules, such as Selectors Level 4, so there's no single CSS4 release. "CSS3" is still used informally to mean the newer features.

What's the difference between inline, internal and external CSS?

Inline CSS is written in an element's style attribute, internal CSS goes in a style element in the page's head, and external CSS lives in a separate .css file linked with a link element. External style sheets are most common because one file can style many pages and browsers can cache it.

Is CSS a programming language?

CSS is usually described as a style sheet language rather than a programming language, because it declares how elements should look instead of giving step-by-step instructions. It does include features such as variables, functions and conditional rules like media queries.

Topic: Web development

Cite this definition
APA

What is CSS? (2026, November 22). Glossary. https://glossary.io/css/

MLA

“What Is CSS?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/css/.

Chicago

“What Is CSS?” Glossary. Coywolf. November 22, 2026. https://glossary.io/css/.

HTML link
<a href="https://glossary.io/css/">What is CSS?</a>

Published · Updated