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.
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
Probar diseños para un plegable de dos pantallas sin tener el teléfono

Probar diseños para un plegable de dos pantallas sin tener el teléfono

Comments
2 min read
CĂłmo revisar los cambios de estilo que propone un agente sin rehacer la interfaz

CĂłmo revisar los cambios de estilo que propone un agente sin rehacer la interfaz

Comments
1 min read
CSS text-wrap: balanced headlines, no lonely words

CSS text-wrap: balanced headlines, no lonely words

1
Comments
4 min read
Building RTL (Persian/Arabic) Websites with Bootstrap 5: A Practical Guide

Building RTL (Persian/Arabic) Websites with Bootstrap 5: A Practical Guide

Comments
5 min read
A 794-line design report decided our colours and fonts, and I can now grep for which of its rules survived

A 794-line design report decided our colours and fonts, and I can now grep for which of its rules survived

Comments
6 min read
I built UXForge — a 100% free collection of 20+ frontend & CSS generators (no sign-up, private, fully in-browser)

I built UXForge — a 100% free collection of 20+ frontend & CSS generators (no sign-up, private, fully in-browser)

Comments
1 min read
subsets in next/font is a preload list, not a download filter: 3 families, 20 font-face rules, 17 files

subsets in next/font is a preload list, not a download filter: 3 families, 20 font-face rules, 17 files

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