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.
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
The JavaScript We Never Questioned

The JavaScript We Never Questioned

3
Comments
1 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
I made a web odometer that carries like the real one

I made a web odometer that carries like the real one

Comments
2 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
Rebuilding this site as an F1-style dashboard

Rebuilding this site as an F1-style dashboard

Comments
10 min read
CSS field-sizing: inputs that grow as you type

CSS field-sizing: inputs that grow as you type

Comments
5 min read
My pay tables kept getting cut off on phones. The fix was showing less, not shrinking more.

My pay tables kept getting cut off on phones. The fix was showing less, not shrinking more.

Comments
2 min read
CSS Grid Justify-Content vs Align-Content: The Difference Explained

CSS Grid Justify-Content vs Align-Content: The Difference Explained

Comments
2 min read
Pixel-Perfect HTML to WordPress: How to Convert a Design Without Changing a Pixel (and Prove It)

Pixel-Perfect HTML to WordPress: How to Convert a Design Without Changing a Pixel (and Prove It)

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