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.
🔐 OTP RS: RFC-Compliant OTP Input Components for WASM Frameworks

🔐 OTP RS: RFC-Compliant OTP Input Components for WASM Frameworks

1
Comments
8 min read
🖥️ Code RS: CDN-Free Syntax-Highlighted Code Components for WASM

🖥️ Code RS: CDN-Free Syntax-Highlighted Code Components for WASM

1
Comments
6 min read
📋 Form RS: Production-Ready Form Components for WASM Frameworks

📋 Form RS: Production-Ready Form Components for WASM Frameworks

1
Comments
5 min read
Stop Hand-Rolling an Exclusive Accordion. `<details name>` Does It

Stop Hand-Rolling an Exclusive Accordion. `<details name>` Does It

1
Comments
6 min read
One palette, three consumers that import it and one that keeps a copy, and the copy is the deliberate part

One palette, three consumers that import it and one that keeps a copy, and the copy is the deliberate part

Comments
5 min read
Redesigning a phone game screen with container queries (and a hint that takes no space)

Redesigning a phone game screen with container queries (and a hint that takes no space)

Comments
6 min read
Four CSS bugs my headless tests couldn't see

Four CSS bugs my headless tests couldn't see

Comments
5 min read
Two layout shifts nobody could see: a ticking clock and a growing toast

Two layout shifts nobody could see: a ticking clock and a growing toast

Comments
5 min read
CSS :has() Is the Parent Selector We Waited 20 Years For

CSS :has() Is the Parent Selector We Waited 20 Years For

Comments
1 min read
I built a Vue directive that turns your real component into its own skeleton

I built a Vue directive that turns your real component into its own skeleton

Comments
5 min read
External SVGs May Finally Become Themeable: Meet CSS Linked Parameters

External SVGs May Finally Become Themeable: Meet CSS Linked Parameters

Comments
6 min read
Debugging scroll anchoring when a prepended feed shifts

Debugging scroll anchoring when a prepended feed shifts

Comments
2 min read
I removed my Chinese web font. Every page lost 1 MB

I removed my Chinese web font. Every page lost 1 MB

Comments
7 min read
I Wanted Rounded Text Selection for Years. Here's How I Finally Built It in Angular (With AI Help)

I Wanted Rounded Text Selection for Years. Here's How I Finally Built It in Angular (With AI Help)

1
Comments
5 min read
Stop Fixing Headline Gaps With Negative Margins. Use `text-box-trim`

Stop Fixing Headline Gaps With Negative Margins. Use `text-box-trim`

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