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.
Why Your SVGs Are Bigger Than They Need to Be (And What's Actually Bloating Them)

Why Your SVGs Are Bigger Than They Need to Be (And What's Actually Bloating Them)

6
Comments
3 min read
Building a Portfolio Website With Bootstrap 5: Complete Guide

Building a Portfolio Website With Bootstrap 5: Complete Guide

Comments
12 min read
I Ripped Out a Carousel Library. CSS Replaced It.

I Ripped Out a Carousel Library. CSS Replaced It.

22
Comments 1
4 min read
Choreo: an animation DSL whose programs verify their own rendered motion

Choreo: an animation DSL whose programs verify their own rendered motion

Comments
3 min read
CSS clamp() for Fluid Typography Explained

CSS clamp() for Fluid Typography Explained

5
Comments
4 min read
The state of zero-runtime CSS-in-JS, mid-2026

The state of zero-runtime CSS-in-JS, mid-2026

1
Comments
6 min read
Building Fluentic Style: I Didn’t Want a Tailwind Preset. Then I Added Two.

Building Fluentic Style: I Didn’t Want a Tailwind Preset. Then I Added Two.

1
Comments
5 min read
A hash-based CSP has no room for a syntax highlighter

A hash-based CSP has no room for a syntax highlighter

8
Comments 5
5 min read
I let an AI write 6 WebGL hero sections — here's the one-CSS-variable reskin trick, and the honest review count

I let an AI write 6 WebGL hero sections — here's the one-CSS-variable reskin trick, and the honest review count

1
Comments
3 min read
I built a Korean fire-noodle stall in pure CSS — and you can eat it

Frontend Challenge CSS Art Submission 🍲🥧

I built a Korean fire-noodle stall in pure CSS — and you can eat it

4
Comments
3 min read
CSS Box model

CSS Box model

Comments
1 min read
Navigation underline animation

Navigation underline animation

Comments
2 min read
The concentric border-radius rule: why nested rounded corners look slightly wrong

The concentric border-radius rule: why nested rounded corners look slightly wrong

Comments
4 min read
A Day on a Plate: Hand-Drawn CSS Food Art

Frontend Challenge CSS Art Submission 🍲🥧

A Day on a Plate: Hand-Drawn CSS Food Art

3
Comments
2 min read
Cover vs Contain vs Stretch: The Image-Resizing Math Frontend Developers Should Understand

Cover vs Contain vs Stretch: The Image-Resizing Math Frontend Developers Should Understand

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