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.
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
Glassmorphism in CSS: how it works + a free live generator

Glassmorphism in CSS: how it works + a free live generator

1
Comments
4 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
Typed CSS attr(): HTML attributes that style anything

Typed CSS attr(): HTML attributes that style anything

1
Comments
5 min read
Download Website as HTML: Get a Runnable Project From a Figma Capture

Download Website as HTML: Get a Runnable Project From a Figma Capture

Comments
6 min read
Figma Code Layer Animation: Make Captured Hovers, Transitions and Keyframes Play

Figma Code Layer Animation: Make Captured Hovers, Transitions and Keyframes Play

Comments
6 min read
19/11 - Intermediate CSS - Default Styles (day 2)

19/11 - Intermediate CSS - Default Styles (day 2)

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