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 exporting SCSS variables from your design system

Stop exporting SCSS variables from your design system

Comments
4 min read
🚀 css flexbox responsive design tutorial — avoid these common layout mistakes

🚀 css flexbox responsive design tutorial — avoid these common layout mistakes

Comments
6 min read
WCAG Color Contrast Explained: Why Your Text Might Be Failing Accessibility

WCAG Color Contrast Explained: Why Your Text Might Be Failing Accessibility

Comments
3 min read
Understanding Sizing in CSS Flexbox (A Practical Guide)

Understanding Sizing in CSS Flexbox (A Practical Guide)

1
Comments
3 min read
Figma vs Sketch in 2026: I Ran Both in a 6-Person Startup for 3 Months — Here's What Won

Figma vs Sketch in 2026: I Ran Both in a 6-Person Startup for 3 Months — Here's What Won

Comments
29 min read
CSS isn't hard

CSS isn't hard

Comments
12 min read
I ran a spacing audit on shadcn/ui. Even it had some drift.

I ran a spacing audit on shadcn/ui. Even it had some drift.

Comments
3 min read
Static CSS Leakage in Microfrontends — Why Shadow DOM Fails and How postcss-prefix-selector Fixes It

Static CSS Leakage in Microfrontends — Why Shadow DOM Fails and How postcss-prefix-selector Fixes It

Comments
6 min read
Créer un système d’authentification avec PHP et MySQL (étape par étape)

Créer un système d’authentification avec PHP et MySQL (étape par étape)

Comments
2 min read
Pixeliro Chrome Plugin Has Run Production

Pixeliro Chrome Plugin Has Run Production

Comments
7 min read
The CSS Scope You Never Had to Compile

The CSS Scope You Never Had to Compile

Comments
5 min read
Color Contrast Failures: The Number One Accessibility Issue and How to Fix It

Color Contrast Failures: The Number One Accessibility Issue and How to Fix It

Comments
2 min read
I Got Tired of Class-Heavy UI Code — So I Kept Going (Juice Part 4)

I Got Tired of Class-Heavy UI Code — So I Kept Going (Juice Part 4)

Comments
4 min read
HoloCard UI: Reimagining Web Interfaces with Native Browser Technologies

HoloCard UI: Reimagining Web Interfaces with Native Browser Technologies

1
Comments
5 min read
I built a small CSS library for UI states (because I kept rewriting the same thing)

I built a small CSS library for UI states (because I kept rewriting the same thing)

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