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 progress bar that made typing lag: debugging a 331 ms INP in a React game

The progress bar that made typing lag: debugging a 331 ms INP in a React game

Comments
7 min read
Build a Pricing Table From Scratch: The CSS Tricks Behind It

Build a Pricing Table From Scratch: The CSS Tricks Behind It

Comments
22 min read
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
You might not need a modal library: <dialog> and the popover API in React 19

You might not need a modal library: <dialog> and the popover API in React 19

Comments
2 min read
Pin the agent to the existing typography scale — no magic font-size values

Pin the agent to the existing typography scale — no magic font-size values

1
Comments
3 min read
Website accessibility for small business sites: the WCAG 2.2 fixes that take under an hour

Website accessibility for small business sites: the WCAG 2.2 fixes that take under an hour

Comments
9 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
Customizable <select>: now in Chrome and Safari

Customizable <select>: now in Chrome and Safari

Comments
4 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
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
In this week Update !(13th Nov)

In this week Update !(13th Nov)

Comments
1 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
👋 Sign in for the ability to sort posts by relevant, latest, or top.