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.
Make the agent keep the existing z-index scale — no magic z-index values

Make the agent keep the existing z-index scale — no magic z-index values

1
Comments
3 min read
CSS Grid Lanes: native masonry, now in Safari

CSS Grid Lanes: native masonry, now in Safari

Comments
5 min read
When Build Caches Lie: Two Opposite Warm-Build Bugs in Ionify

When Build Caches Lie: Two Opposite Warm-Build Bugs in Ionify

Comments
5 min read
Staggering scroll-driven animations takes one animation-range-start line

Staggering scroll-driven animations takes one animation-range-start line

1
Comments 1
4 min read
How Clonix turns a website into design tokens for Cursor, Claude Code and Windsurf

How Clonix turns a website into design tokens for Cursor, Claude Code and Windsurf

Comments
4 min read
Five Tailwind breakpoints ship in our CSS, two of them do all the work, and one changes nothing at all

Five Tailwind breakpoints ship in our CSS, two of them do all the work, and one changes nothing at all

1
Comments
5 min read
HTML to video: a repeatable workflow for CSS, GSAP, and AI-generated animations

HTML to video: a repeatable workflow for CSS, GSAP, and AI-generated animations

Comments
5 min read
1.3 MB of class names in our HTML, and 69 per cent of the stylesheet they point at never reaches a public page

1.3 MB of class names in our HTML, and 69 per cent of the stylesheet they point at never reaches a public page

1
Comments
5 min read
5 UI Button Design Mistakes That Make Websites Harder to Use

5 UI Button Design Mistakes That Make Websites Harder to Use

Comments
2 min read
Building a printer test page that diagnoses by symptom

Building a printer test page that diagnoses by symptom

Comments
8 min read
Our desktop app has three media queries, none of them about width, and a rule that hides every scrollbar in it

Our desktop app has three media queries, none of them about width, and a rule that hides every scrollbar in it

1
Comments
4 min read
Our site and our desktop app use 58 colours between them and share 15, and three the site owns alone are a fake window's traffic lights

Our site and our desktop app use 58 colours between them and share 15, and three the site owns alone are a fake window's traffic lights

1
Comments
5 min read
Introducing ONCSS: A Lightweight CSS-in-JS Library

Introducing ONCSS: A Lightweight CSS-in-JS Library

Comments
1 min read
17/11 - Completed Intermediate HTML Concepts - Tables

17/11 - Completed Intermediate HTML Concepts - Tables

Comments
1 min read
How Modern CSS Anchor Positioning Replaces Popper.js (Zero JavaScript)

How Modern CSS Anchor Positioning Replaces Popper.js (Zero JavaScript)

Comments
1 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.