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.
Four CSS bugs my headless tests couldn't see

Four CSS bugs my headless tests couldn't see

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
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
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
Debugging scroll anchoring when a prepended feed shifts

Debugging scroll anchoring when a prepended feed shifts

Comments
2 min read
FOUC-Proof Retro Design Systems

FOUC-Proof Retro Design Systems

Comments
3 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
CSS-Only Custom Elements for Layouts

CSS-Only Custom Elements for Layouts

Comments
9 min read
I built a lightweight runtime for FSCSS property shorthands (with a JS API)

I built a lightweight runtime for FSCSS property shorthands (with a JS API)

1
Comments
3 min read
I Got Tired of 200MB node_modules in Admin Dashboards, So I Built One With Zero Dependencies

I Got Tired of 200MB node_modules in Admin Dashboards, So I Built One With Zero Dependencies

Comments
1 min read
Why You Should Stop Base64 Encoding SVGs in CSS (And What to Use Instead)

Why You Should Stop Base64 Encoding SVGs in CSS (And What to Use Instead)

Comments
3 min read
Commerce PDF Generation Explained: 6 Font and Print CSS Diagnostics

Commerce PDF Generation Explained: 6 Font and Print CSS Diagnostics

Comments
6 min read
Sondaggi “fast money” sul CSS: cosa amiamo davvero (e cosa dobbiamo ancora cercare su Google)

Sondaggi “fast money” sul CSS: cosa amiamo davvero (e cosa dobbiamo ancora cercare su Google)

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