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.
Stop using hex codes in your CSS

Stop using hex codes in your CSS

4 min read
CSS Grid vs Flexbox: Why It's the Wrong Question

CSS Grid vs Flexbox: Why It's the Wrong Question

10 min read
How to remove unused CSS and shrink your stylesheet

How to remove unused CSS and shrink your stylesheet

5 min read
Why Juice Generates CSS Instead of Owning It

Why Juice Generates CSS Instead of Owning It

2
2 min read
One line of CSS that breaks keyboard accessibility sitewide and two other patterns we keep finding in audits

One line of CSS that breaks keyboard accessibility sitewide and two other patterns we keep finding in audits

1
6 min read
I added dark mode by editing CSS variables not 100 components

I added dark mode by editing CSS variables not 100 components

3 min read
A Practical CSS Variable Setup for Light/Dark Mode Without Theme Flash

A Practical CSS Variable Setup for Light/Dark Mode Without Theme Flash

3
6 min read
Stop Guessing Opacities: I Built a Real-Time Glassmorphism CSS Generator

Stop Guessing Opacities: I Built a Real-Time Glassmorphism CSS Generator

1
2 min read
Pseudo-classes are states, not events

Pseudo-classes are states, not events

3 min read
I Built the Same Coaching Institute Website 5 Times — So I Made a Template

I Built the Same Coaching Institute Website 5 Times — So I Made a Template

4 min read
Angular Class and Style Binding

Angular Class and Style Binding

2 min read
EAA 2025: Jak naprawić kontrasty w CSS, by uniknąć kar i dostosować polski e-commerce do wymogów dostępności?

EAA 2025: Jak naprawić kontrasty w CSS, by uniknąć kar i dostosować polski e-commerce do wymogów dostępności?

6 min read
EAA 2025: Jak naprawić kontrasty w CSS, by uniknąć kar i dostosować polski e-commerce do wymogów dostępności?

EAA 2025: Jak naprawić kontrasty w CSS, by uniknąć kar i dostosować polski e-commerce do wymogów dostępności?

6 min read
If You Know CSS, You Already Know Yumma CSS

If You Know CSS, You Already Know Yumma CSS

2 min read
CSS Forms Tutorial: Style Inputs, Buttons & Validation States

CSS Forms Tutorial: Style Inputs, Buttons & Validation States

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