CSS - DEV Community

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.
Why a2ui's JSON-Driven Layout Schema Breaks Down in Production Modal Stacks

Why a2ui's JSON-Driven Layout Schema Breaks Down in Production Modal Stacks

Comments
3 min read
Japanese Text Breaks Your App in 7 Quiet Ways (With Code)

Japanese Text Breaks Your App in 7 Quiet Ways (With Code)

Comments
5 min read
Goodbye... Pico.

Goodbye... Pico.

Comments
3 min read
Build dashboard card grids that reduce columns before cards get cramped

Build dashboard card grids that reduce columns before cards get cramped

Comments
2 min read
Building a Sticky Mobile Call Bar for a Law Firm Website

Building a Sticky Mobile Call Bar for a Law Firm Website

Comments
5 min read
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
I Built a Candle That Burns Down in Real-Time as the Year Passes

I Built a Candle That Burns Down in Real-Time as the Year Passes

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