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.
The will-change Tax: How a 600 kB Transform Hint Cost Me 5 MB

The will-change Tax: How a 600 kB Transform Hint Cost Me 5 MB

1
Comments 1
7 min read
State-Driven Animations in Vue: Create Smooth UI Transitions with Reactive State

State-Driven Animations in Vue: Create Smooth UI Transitions with Reactive State

2
Comments
3 min read
Responsive (fluid) typography with the clamp() function

Responsive (fluid) typography with the clamp() function

1
Comments
3 min read
HTML

HTML

1
Comments 1
3 min read
How to Implement Dark Mode: A Complete CSS and JavaScript Guide

How to Implement Dark Mode: A Complete CSS and JavaScript Guide

Comments
3 min read
How to Minify CSS: Tools, Techniques, and What Gets Removed

How to Minify CSS: Tools, Techniques, and What Gets Removed

Comments
3 min read
How to Use Custom CSS to Brand Your Published Markdown Pages

How to Use Custom CSS to Brand Your Published Markdown Pages

Comments
5 min read
CSS Color Contrast: The WCAG Rules Every Developer Should Know

CSS Color Contrast: The WCAG Rules Every Developer Should Know

Comments 1
4 min read
Dynamic OG Images in Next.js Without @vercel/og (1,200 630)

Dynamic OG Images in Next.js Without @vercel/og (1,200 630)

5
Comments
6 min read
Why your React tournament bracket breaks in Safari (and a 4 KB pure-CSS fix)

Why your React tournament bracket breaks in Safari (and a 4 KB pure-CSS fix)

2
Comments
3 min read
Vicinage, type-safe and zero-runtime UI styling, right in the markup.

Vicinage, type-safe and zero-runtime UI styling, right in the markup.

2
Comments
1 min read
I don't want to write HTML or fight global CSS, so I built a TypeScript DSL

I don't want to write HTML or fight global CSS, so I built a TypeScript DSL

Comments 2
6 min read
Understanding CSS Grid vs Flexbox in 2026

Understanding CSS Grid vs Flexbox in 2026

2
Comments
3 min read
CSS @function

CSS @function

1
Comments
4 min read
CSS in 2026: Modern Techniques You Might Not Know (2026)

CSS in 2026: Modern Techniques You Might Not Know (2026)

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