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.
A keyboard-and-contrast baseline for a static CSS demo

A keyboard-and-contrast baseline for a static CSS demo

Comments
2 min read
Introducing Nonprofit: A Free Theme for Backdrop CMS

Introducing Nonprofit: A Free Theme for Backdrop CMS

Comments
2 min read
The page that collapses: transforms on the real DOM instead of a screenshot

The page that collapses: transforms on the real DOM instead of a screenshot

Comments
8 min read
Why a CSS Grid receipt clipped its payment status at 320 px

Why a CSS Grid receipt clipped its payment status at 320 px

Comments
2 min read
CSS-only Dropdown with Native HTML

CSS-only Dropdown with Native HTML

Comments
2 min read
What I show while resolve.php works: a skeleton loader, not a spinner

What I show while resolve.php works: a skeleton loader, not a spinner

Comments
3 min read
Change Page Header on Scroll Using the Intersection Observer API

Change Page Header on Scroll Using the Intersection Observer API

Comments
4 min read
CSS typed arithmetic: turn any length into a number

CSS typed arithmetic: turn any length into a number

Comments
5 min read
Every Vibe-Coded Site Looks the Same. I Wrote a Linter for the Default Look.

Every Vibe-Coded Site Looks the Same. I Wrote a Linter for the Default Look.

1
Comments
15 min read
A physics layer that draws nothing: reading interface forces back as CSS variables

A physics layer that draws nothing: reading interface forces back as CSS variables

Comments 2
2 min read
What a Hex Code Taught Me: A Freelancer's Notes on Using Invert Image Tools for Dark Palettes

What a Hex Code Taught Me: A Freelancer's Notes on Using Invert Image Tools for Dark Palettes

Comments
3 min read
We raised 36 font sizes by arithmetic. The browser found the bug we were not looking for.

We raised 36 font sizes by arithmetic. The browser found the bug we were not looking for.

Comments
8 min read
The text was gone and the page looked fine

The text was gone and the page looked fine

Comments
9 min read
Animate Popover API entry and exit without JavaScript delays

Animate Popover API entry and exit without JavaScript delays

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