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 clamp() for Fluid Typography Explained

CSS clamp() for Fluid Typography Explained

5
Comments
4 min read
Delete Your padding-bottom Aspect-Ratio Hack

Delete Your padding-bottom Aspect-Ratio Hack

15
Comments
5 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
How I Cloned My College Website (Sri Sankara Bhagavathi Arts & Science College) from Scratch!

How I Cloned My College Website (Sri Sankara Bhagavathi Arts & Science College) from Scratch!

1
Comments
1 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
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
Notas desde el pase: qué pasa cuando el estado se esconde dentro de un token

Notas desde el pase: qué pasa cuando el estado se esconde dentro de un token

Comments
4 min read
I built a free color palette generator that exports to CSS, Tailwind and SCSS

I built a free color palette generator that exports to CSS, Tailwind and SCSS

Comments
1 min read
The Dabba — the box somebody packed for you before you were awake

Frontend Challenge CSS Art Submission 🍲🥧

The Dabba — the box somebody packed for you before you were awake

4
Comments
7 min read
Building Better Property Platforms: 5 UX Details That Matter

Building Better Property Platforms: 5 UX Details That Matter

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