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

CSS Selectors

9
Comments
5 min read
Exit intent that works on mobile, not just desktop

Exit intent that works on mobile, not just desktop

1
Comments
3 min read
I Gave Claude Stripe's DESIGN.md. The UI Stopped Looking Generic.

I Gave Claude Stripe's DESIGN.md. The UI Stopped Looking Generic.

Comments
2 min read
Tailwind CSS4: Why Those Inline Styles Are Actually More Scalable - A Senior CSS Developer's Guide

Utility safety versus markup aesthetics

Tailwind CSS4: Why Those Inline Styles Are Actually More Scalable - A Senior CSS Developer's Guide

40
Comments 24
2 min read
Resume Building using HTML & CSS

Resume Building using HTML & CSS

1
Comments
4 min read
Interactive Elements with Pure CSS: Checkboxes Instead of JS

Interactive Elements with Pure CSS: Checkboxes Instead of JS

1
Comments
5 min read
Naming many view transitions: attr() or match-element?

Naming many view transitions: attr() or match-element?

4
Comments
3 min read
Why Does AI Generate 500 Lines of Code in One Function...? (Part 1/2)

Why Does AI Generate 500 Lines of Code in One Function...? (Part 1/2)

5
Comments
3 min read
Your contrast checker probably lies about rgba() text

Your contrast checker probably lies about rgba() text

3
Comments
3 min read
Debugging window.print() on Mobile: The Phantom Blank Page and the Anti-Pattern Behind It

Debugging window.print() on Mobile: The Phantom Blank Page and the Anti-Pattern Behind It

1
Comments
5 min read
Color Contrast in Web Design: WCAG AA, AAA, and Why It Actually Matters

Color Contrast in Web Design: WCAG AA, AAA, and Why It Actually Matters

Comments
4 min read
Advanced CSS Grid: Creating Complex Magazine Layouts

Advanced CSS Grid: Creating Complex Magazine Layouts

1
Comments
4 min read
The Effect of Frosted Glass (Glassmorphism) in Pure CSS in 2026

The Effect of Frosted Glass (Glassmorphism) in Pure CSS in 2026

Comments
5 min read
You finish the UI, run Lighthouse, and suddenly six color pairs fail WCAG AA

You finish the UI, run Lighthouse, and suddenly six color pairs fail WCAG AA

2
Comments
3 min read
HEX, RGB, HSL, and CMYK: A Developer's Colour Format Reference

HEX, RGB, HSL, and CMYK: A Developer's Colour Format Reference

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