The birth and evolution of Cascading Style Sheets (CSS) represents one of the most critical triumphs in the history of computer software architecture. In the earliest days of the World Wide Web (1990–1994), Tim Berners-Lee's original HTML specification contained zero visual styling mechanisms. To create colors, fonts, and layouts, developers had to resort to proprietary browser tags like Netscape's infamous <blink> and <font>, or Microsoft Internet Explorer's <marquee>. Web pages quickly degenerated into tangled, unmaintainable tag soups.
Recognizing that the web desperately needed a standardized mechanism to separate document structure from visual presentation, Håkon Wium Lie published the groundbreaking proposal titled "Cascading HTML Style Sheets" on October 10, 1994, while working alongside Tim Berners-Lee at CERN in Geneva, Switzerland. Joining forces with Bert Bos, who was developing the Argo web browser, the duo created the foundation of modern web aesthetics.
| Milestone / Spec | Year | Key Features & Historical Impact |
|---|---|---|
| Initial Proposal | 1994 | Håkon Wium Lie proposes Cascading HTML Style Sheets at CERN, introducing the concept of a cascade where browser, author, and user styles blend. |
| CSS Level 1 (CSS1) | Dec 1996 | W3C publishes CSS1 official Recommendation. Introduced basic font properties, foreground/background colors, margins, borders, padding, and text alignment. |
| CSS Level 2 (CSS2) | May 1998 | Introduced absolute, relative, and fixed positioning (z-index), media types (screen, print), bidirectional text, and table formatting. |
| CSS Level 2.1 (CSS2.1) | June 2011 | A rigorous 13-year stabilization effort by the W3C CSS Working Group that pruned un-implemented features and accurately reflected actual browser implementations. |
| CSS3 (Modularization) | 1999 – Present | Instead of a monolithic book, CSS was broken into independent modules: Selectors, Colors, Box Model, Flexbox, Animations, Media Queries, and Grid. |
| Modern CSS (CSS4 / CSS 2026) | 2020 – 2026 | Container Queries (@container), Cascade Layers (@layer), Native Nesting, :has() parent selector, OKLCH wide-gamut colors, and Subgrid. |
In traditional computer formatting systems (like SGML or LaTeX), formatting was dictated by a single authoritative stylesheet. Håkon Wium Lie's genius insight was that on the decentralized World Wide Web, three distinct entities needed a voice in styling a document:
The Browser (User Agent Style): Provides baseline fallback styles (e.g., hyperlinks are blue and underlined, <h1> is large and bold).
The Author (Website Developer): Designs the branded visual theme, custom layout, corporate colors, and typography.
The User (Reader / Client): Can override styles for accessibility, such as enlarged fonts for visually impaired users or high-contrast dark modes.
The algorithm that reconciles these conflicting styling rules based on importance, origin, specificity, and declaration order is the Cascade.
Technically, the W3C CSS Working Group will never release a single monolithic document titled "CSS4". Because CSS3 modularized the language, individual specifications have their own version numbers. For example, CSS Color Module Level 5, CSS Grid Layout Module Level 2, and Selectors Level 4 all evolve concurrently. However, the industry colloquially uses "Modern CSS" or "CSS4" to reference features introduced after 2020.
Question: Who invented CSS, in which year was it first proposed, and what organization standardizes it today?
Answer: CSS was proposed by Håkon Wium Lie on October 10, 1994, at CERN, and co-developed with Bert Bos. Today, CSS is standardized by the World Wide Web Consortium (W3C) through its CSS Working Group.
Legacy Float Layout (circa 2005):
/* Fragile, requires clearfixes */
.sidebar { float: left; width: 30%; }
.main { float: right; width: 70%; }
.clearfix::after { content: ""; display: table; clear: both; }
Modern Flexbox / Grid Equivalent (2026):
/* Clean, self-contained, no clearfixes */
.layout {
display: flex;
gap: 20px;
}
.sidebar { flex: 0 0 300px; }
.main { flex: 1; }
Boost your CSS and front-end development proficiency by exploring these closely connected topics:
Understand margins, borders, padding, content and the universal box-sizing fix.
Master 1D alignment, justify-content, align-items, flex-wrap and responsive flow.
Build powerful two-dimensional grid layouts with template areas and fr units.
Eliminate styling conflicts and master selector weights from 0,0,0,1 to !important.