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.
29 tells of AI slop, written as lint rules

29 tells of AI slop, written as lint rules

Comments 1
6 min read
The Math Behind CSS clamp(): Building Truly Fluid Typography Without Media Queries

The Math Behind CSS clamp(): Building Truly Fluid Typography Without Media Queries

Comments
3 min read
How to Center a Div in CSS: 5 Simple Methods That Actually Work

How to Center a Div in CSS: 5 Simple Methods That Actually Work

Comments
6 min read
Building a Drift-Free, Zero-Dependency Cue Timer in a Single HTML File

Building a Drift-Free, Zero-Dependency Cue Timer in a Single HTML File

Comments 1
2 min read
26/11 - Intermediate CSS Concepts - CSS Units (5)

26/11 - Intermediate CSS Concepts - CSS Units (5)

Comments
1 min read
Scroll into the picture: a depth hero with CSS perspective, an easing camera and a cursor light

Scroll into the picture: a depth hero with CSS perspective, an easing camera and a cursor light

Comments
4 min read
How I built a corner scan pay with plain CSS and a little JS

How I built a corner scan pay with plain CSS and a little JS

Comments
1 min read
Dark mode I did not ship: why the blue-and-white theme stays put

Dark mode I did not ship: why the blue-and-white theme stays put

Comments 1
3 min read
How to Catch Mobile Overflow in an AI-Built App Before You Launch

How to Catch Mobile Overflow in an AI-Built App Before You Launch

Comments
4 min read
CSS Modules in react?

CSS Modules in react?

5
Comments
1 min read
I gave my AI coding agent one rule file. Here's the before and after.

I gave my AI coding agent one rule file. Here's the before and after.

Comments
2 min read
CSS round(), mod(), rem(): snap anything to a grid

CSS round(), mod(), rem(): snap anything to a grid

Comments
5 min read
Spider Walker

Spider Walker

Comments
1 min read
Simple Vanilla Link db v5.1

Simple Vanilla Link db v5.1

Comments
2 min read
Building a HUD Speedometer for the Browser: Wake Lock, Fullscreen and Mirrored Text

Building a HUD Speedometer for the Browser: Wake Lock, Fullscreen and Mirrored Text

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