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.
Figma to Next.js: my process for pixel-perfect, responsive builds

Figma to Next.js: my process for pixel-perfect, responsive builds

Comments
1 min read
Small design systems: tokens first, components second

Small design systems: tokens first, components second

Comments 1
1 min read
Convert TTF/OTF fonts to WOFF2 in the browser (no install, no upload server)

Convert TTF/OTF fonts to WOFF2 in the browser (no install, no upload server)

Comments 1
3 min read
Build an AI Ops Dashboard with FSCSS (ai-ui, st-core, circle-progress, overlapui)

Build an AI Ops Dashboard with FSCSS (ai-ui, st-core, circle-progress, overlapui)

1
Comments
16 min read
TIL a formatter's extra space turned an SCSS margin into invalid CSS

TIL a formatter's extra space turned an SCSS margin into invalid CSS

1
Comments
3 min read
13.3 per cent of our HTML is class attributes, 324 distinct strings doing it, and the proof tailwind-merge works is a class that is missing

13.3 per cent of our HTML is class attributes, 324 distinct strings doing it, and the proof tailwind-merge works is a class that is missing

1
Comments
5 min read
Two invisible bytes wiped 130 CSS colour tokens on 462 pages, and every check passed

Two invisible bytes wiped 130 CSS colour tokens on 462 pages, and every check passed

Comments
5 min read
View Transitions: animate any DOM change with one call

View Transitions: animate any DOM change with one call

Comments
5 min read
Tailwind Safe Area Insets: Bottom Bars, FABs and Toasts

Tailwind Safe Area Insets: Bottom Bars, FABs and Toasts

Comments
15 min read
Building Single-File HTML Templates: Clean Code Without the Framework Overhead

Building Single-File HTML Templates: Clean Code Without the Framework Overhead

Comments
1 min read
How I Compress Website Images with Squoosh for Blazing-Fast Page Speeds

How I Compress Website Images with Squoosh for Blazing-Fast Page Speeds

Comments
1 min read
Why I Hand-Code Lightweight, Single-File HTML Templates for Maximum Speed

Why I Hand-Code Lightweight, Single-File HTML Templates for Maximum Speed

Comments
1 min read
100vh Mobile Fix: When to Use dvh, svh or lvh in Tailwind

100vh Mobile Fix: When to Use dvh, svh or lvh in Tailwind

Comments
15 min read
Fonts in HTML Email Are a Different Game: What Actually Survives the Inbox

Fonts in HTML Email Are a Different Game: What Actually Survives the Inbox

Comments 1
4 min read
Do You Remember Our Past Projects?

Do You Remember Our Past Projects?

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