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.
I blocked our own fonts on all 38 pages: 30 per cent of the text moved, and the layout shift went to zero

I blocked our own fonts on all 38 pages: 30 per cent of the text moved, and the layout shift went to zero

Comments
7 min read
From <div> to <Box>: what I learned wrestling MUI on my first real React project

From <div> to <Box>: what I learned wrestling MUI on my first real React project

Comments
9 min read
HTML Color Code Picker: HEX, RGB, HSL and CMYK Explained (Plus a Free Tool to Pick Them)

HTML Color Code Picker: HEX, RGB, HSL and CMYK Explained (Plus a Free Tool to Pick Them)

Comments
6 min read
One Shared CSS File Across 8 Tool Pages: How I Keep Every Page in Sync

One Shared CSS File Across 8 Tool Pages: How I Keep Every Page in Sync

Comments
3 min read
How to choose a Bootstrap 5 admin template: a 10-point checklist

How to choose a Bootstrap 5 admin template: a 10-point checklist

Comments
4 min read
Why CSS 1in = 96px Is Not 1 Physical Inch (Building a True 1:1 Screen Ruler in React)

Why CSS 1in = 96px Is Not 1 Physical Inch (Building a True 1:1 Screen Ruler in React)

1
Comments
4 min read
A Snap-Scrolling Vertical Video Feed with CSS and IntersectionObserver

A Snap-Scrolling Vertical Video Feed with CSS and IntersectionObserver

Comments
3 min read
What `filter: invert(1)` really does to an element

What `filter: invert(1)` really does to an element

Comments
4 min read
FSCSS for Python: semantic CSS without utility classes

FSCSS for Python: semantic CSS without utility classes

Comments
6 min read
Delete your emoji feature cards (and what to put there instead)

Delete your emoji feature cards (and what to put there instead)

Comments
4 min read
Why Responsive Web Design Needs More Than Flexible Layouts

Why Responsive Web Design Needs More Than Flexible Layouts

Comments
8 min read
Quotes in a style tag broke hydration in my Framer code component

Quotes in a style tag broke hydration in my Framer code component

Comments
2 min read
text-wrap pretty made my pills overflow on phones

text-wrap pretty made my pills overflow on phones

Comments
2 min read
Fitting a resume to the page automatically, without breaking it for ATS parsers

Fitting a resume to the page automatically, without breaking it for ATS parsers

Comments
7 min read
Next.js Bundling a wasm Package Breaks Only in Production

Next.js Bundling a wasm Package Breaks Only in Production

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