DEV Community

CSS

Cascading Style Sheets (CSS) is a simple language for adding style (e.g., fonts, colors, spacing) to HTML documents. It describes how HTML elements should be displayed.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
I Went Looking for Why Lenis Beat Locomotive Scroll. The Real Story Surprised Me.

I Went Looking for Why Lenis Beat Locomotive Scroll. The Real Story Surprised Me.

5 min read
The bug nobody fixed for 4 years (and how it got me my first Contributor badge)

The bug nobody fixed for 4 years (and how it got me my first Contributor badge)

5 min read
Frameworks Didn't Solve CSS. They Avoided It.

Frameworks Didn't Solve CSS. They Avoided It.

2 min read
Safari dropped my scroll because of a CSS fade on an ancestor

Safari dropped my scroll because of a CSS fade on an ancestor

1
6 min read
Refactoring Vlox's Theme Engine 🎨

Refactoring Vlox's Theme Engine 🎨

7
1 min read
How I Built a Full Flipkart Page Clone From Scratch Using My Own Code 🛒🔥

How I Built a Full Flipkart Page Clone From Scratch Using My Own Code 🛒🔥

2 min read
CSS Anchor Positioning in 2026: Build Tooltips and Popovers Without Coordinate Math

CSS Anchor Positioning in 2026: Build Tooltips and Popovers Without Coordinate Math

7 min read
Los frameworks no resolvieron el problema de CSS; lo evitaron.

Los frameworks no resolvieron el problema de CSS; lo evitaron.

3 min read
CSS text-fit: Responsive Headlines Without JavaScript Font-Sizing Loops

CSS text-fit: Responsive Headlines Without JavaScript Font-Sizing Loops

3 min read
CSS :open Is Baseline 2026: Style Open UI States with One Selector

CSS :open Is Baseline 2026: Style Open UI States with One Selector

1
3 min read
How I Finally Understood CSS Centering (And 3 Ways to Do It Right)

How I Finally Understood CSS Centering (And 3 Ways to Do It Right)

1 min read
CSS Fundamentals: How Styling Brings HTML to Life.

CSS Fundamentals: How Styling Brings HTML to Life.

6 min read
Building Fluentic Style: Styling DOM You Do Not Own With `createSheet`

Building Fluentic Style: Styling DOM You Do Not Own With `createSheet`

1
12 min read
Three small design decisions in a "toggle effects via CSS class" library, and the tradeoffs behind them

Three small design decisions in a "toggle effects via CSS class" library, and the tradeoffs behind them

2
4 min read
Notes from the Pass: What Happens When State Hides Inside a Token

Notes from the Pass: What Happens When State Hides Inside a Token

4 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.