G
YouTube TikTok Games

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.
Render-Blocking Requests in Next.js: What the Insight Measures

Render-Blocking Requests in Next.js: What the Insight Measures

Comments
11 min read
dvh Is Not a Keyboard Fix: Picking the Right Viewport Tool on Mobile

dvh Is Not a Keyboard Fix: Picking the Right Viewport Tool on Mobile

Comments
4 min read
Why CSS Utilities Clobber Each Other — And How @property + :where() Fixes Composition Forever

Why CSS Utilities Clobber Each Other — And How @property + :where() Fixes Composition Forever

Comments
4 min read
Byg en tilgængelig informationsside med HTML og CSS

Byg en tilgængelig informationsside med HTML og CSS

Comments
8 min read
I loaded all 76 of our pages at 320px: nothing scrolls sideways, and 1,308 elements hang over the edge

I loaded all 76 of our pages at 320px: nothing scrolls sideways, and 1,308 elements hang over the edge

Comments
6 min read
We preload 52 KB of our brand typeface on every page, and the browser renders the system font

We preload 52 KB of our brand typeface on every page, and the browser renders the system font

1
Comments
6 min read
How we cut our homepage from 4 MB to 179 KB and reached Lighthouse 100

How we cut our homepage from 4 MB to 179 KB and reached Lighthouse 100

Comments
6 min read
Our third most used colour is #a3a3a3, 138 times, and the Tailwind we install does not have it any more

Our third most used colour is #a3a3a3, 138 times, and the Tailwind we install does not have it any more

Comments
5 min read
From one HEX to a full theme: HIA-Theme-Builder

From one HEX to a full theme: HIA-Theme-Builder

Comments
6 min read
Customizable <select>: now in Chrome and Safari

Customizable <select>: now in Chrome and Safari

Comments
4 min read
116 tokens: a default theme for light, dark and a phone

116 tokens: a default theme for light, dark and a phone

Comments
6 min read
Chrome got zstd for the HTML and gzip for the CSS. Brotli was 279 KB smaller.

Chrome got zstd for the HTML and gzip for the CSS. Brotli was 279 KB smaller.

Comments
7 min read
Toggle Switch Animation CSS: A Stretchy, Accessible Switch From a Checkbox

Toggle Switch Animation CSS: A Stretchy, Accessible Switch From a Checkbox

Comments
6 min read
Button Hover Animation CSS: Fill Sweep, Lift, Arrow Nudge and Glow

Button Hover Animation CSS: Fill Sweep, Lift, Arrow Nudge and Glow

Comments
6 min read
From CSS custom properties to Figma variables, with no plugin

From CSS custom properties to Figma variables, with no plugin

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