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.
CSS * Selector – Selects All Elements

CSS * Selector – Selects All Elements

Comments
2 min read
Hacking a Free Blogger Theme for the Mobile Era

Hacking a Free Blogger Theme for the Mobile Era

Comments
2 min read
The Unclickable Hamburger Button: Three Wrong Fixes Before I Found the CSS Bundle Order Bug

The Unclickable Hamburger Button: Three Wrong Fixes Before I Found the CSS Bundle Order Bug

1
Comments 1
3 min read
css-slop-detector v0.2: from detecting AI slop to fixing it with one command

css-slop-detector v0.2: from detecting AI slop to fixing it with one command

Comments
2 min read
Every contrast failure on our site is the same Tailwind feature, and measuring it needs a canvas

Every contrast failure on our site is the same Tailwind feature, and measuring it needs a canvas

Comments
6 min read
Why Most Dark Mode Extensions Get It Wrong (And What Actually Works)

Why Most Dark Mode Extensions Get It Wrong (And What Actually Works)

Comments
2 min read
7 CSS Myths Beginners Should Stop Believing

7 CSS Myths Beginners Should Stop Believing

Comments
7 min read
Stop Hand-Numbering Staggered Animations. CSS sibling-index() Is Here

Stop Hand-Numbering Staggered Animations. CSS sibling-index() Is Here

Comments
4 min read
From Static to Dynamic: Building a Modern Web Experience with Web Components

From Static to Dynamic: Building a Modern Web Experience with Web Components

Comments
6 min read
Your tokens are correct and dark mode still broke the screen

Your tokens are correct and dark mode still broke the screen

Comments
7 min read
Understanding Aspect Ratios in CSS and Canvas: Formulas, Responsive Rules, and Image Cropping

Understanding Aspect Ratios in CSS and Canvas: Formulas, Responsive Rules, and Image Cropping

Comments
4 min read
Samsung Internet's dark mode turned my orange buttons dark red. My fix is only partial.

Samsung Internet's dark mode turned my orange buttons dark red. My fix is only partial.

Comments
4 min read
"I Can't Reach the Button" Is Unreproducible on Your Desktop, and `100vh` Is Why

"I Can't Reach the Button" Is Unreproducible on Your Desktop, and `100vh` Is Why

1
Comments 2
4 min read
RTL in practice: CSS logical properties, bidi text, icons, numerals and a testing checklist

RTL in practice: CSS logical properties, bidi text, icons, numerals and a testing checklist

Comments
10 min read
Let the designer's spec be the test: a bounded UI change request for game UI

Let the designer's spec be the test: a bounded UI change request for game UI

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