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 Selectors 101: The Complete Guide

CSS Selectors 101: The Complete Guide

Comments
9 min read
CSS Counters: auto-update list numbers without JavaScript

CSS Counters: auto-update list numbers without JavaScript

2
Comments
2 min read
Is Learning CSS a Waste of Time in 2026?

Is Learning CSS a Waste of Time in 2026?

167
Comments 195
4 min read
Experimenting with the idea of a "TypeScript" for CSS

Experimenting with the idea of a "TypeScript" for CSS

2
Comments 1
8 min read
lights off - reading in dark with a torch [codepen]

lights off - reading in dark with a torch [codepen]

Comments
1 min read
Daily Challenge #5 : The "Checkbox" Logic Gate 🎛️

Daily Challenge #5 : The "Checkbox" Logic Gate 🎛️

1
Comments
1 min read
CSS Selectors 101: Targeting Elements with Precision

CSS Selectors 101: Targeting Elements with Precision

5
Comments
2 min read
CSS Selectors 101: Targeting Elements with Precision

CSS Selectors 101: Targeting Elements with Precision

2
Comments
4 min read
I stopped trying to make HTML paginate for printing (and it finally worked)

I stopped trying to make HTML paginate for printing (and it finally worked)

1
Comments
2 min read
Building an Interactive Hex Grid with Tailwind & Vanilla JS (No Frameworks Required) 🐝

Building an Interactive Hex Grid with Tailwind & Vanilla JS (No Frameworks Required) 🐝

Comments
2 min read
Daily Challenge #4 : The "Infinite" Scroll Illusion 🎞️

Daily Challenge #4 : The "Infinite" Scroll Illusion 🎞️

1
Comments
1 min read
UI ‘Isms’ Explained by Me Poking Buttons

UI ‘Isms’ Explained by Me Poking Buttons

2
Comments
4 min read
CSS Properties

CSS Properties

Comments
2 min read
The need of the ::has-overflow CSS pseudo-element

The need of the ::has-overflow CSS pseudo-element

Comments 1
1 min read
I Replaced Password Dots with CSS Blur, Here's How (and Why)

I Replaced Password Dots with CSS Blur, Here's How (and Why)

Comments 4
2 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.