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.
The Clipped Dropdown in a Collapsed Sidebar — the Hidden Meaning of overflow-y: auto

The Clipped Dropdown in a Collapsed Sidebar — the Hidden Meaning of overflow-y: auto

Comments
3 min read
Modern CSS: :has(), :is(), nesting

Modern CSS: :has(), :is(), nesting

Comments
8 min read
One palette in a package, 28 CSS variables beside it, and the file that calls itself the source of truth is still green

One palette in a package, 28 CSS variables beside it, and the file that calls itself the source of truth is still green

Comments
5 min read
I measured what Safari actually gives your web page on iPhone Duo

I measured what Safari actually gives your web page on iPhone Duo

Comments
4 min read
Building a Print-First SVG Gallery: Lessons in CSS, PDFs, and Progressive Enhancement

Building a Print-First SVG Gallery: Lessons in CSS, PDFs, and Progressive Enhancement

Comments
3 min read
AI Can Write CSS. Chrome DevTools Can Now Show It Why the Browser Disagrees.

AI Can Write CSS. Chrome DevTools Can Now Show It Why the Browser Disagrees.

Comments
6 min read
FSCSS layout helpers: stack, hstack, center, size, rounded, ratio-fit, and friends

FSCSS layout helpers: stack, hstack, center, size, rounded, ratio-fit, and friends

Comments
3 min read
2026 · Week 44

2026 · Week 44

Comments
1 min read
Mastering Flexbox: The Ultimate Stress-Free Guide to Modern Web Layouts

Mastering Flexbox: The Ultimate Stress-Free Guide to Modern Web Layouts

Comments
2 min read
CSS anchor positioning: tooltips that flip

CSS anchor positioning: tooltips that flip

Comments 1
5 min read
Printing Urdu worksheets in Nastaliq from the browser: joined letter forms with ZWJ and print-to-PDF

Printing Urdu worksheets in Nastaliq from the browser: joined letter forms with ZWJ and print-to-PDF

Comments
3 min read
Beyond the Basics - Advanced CSS Techniques for Web Developers

Beyond the Basics - Advanced CSS Techniques for Web Developers

Comments
3 min read
Flexbox or Grid? A simple rule for choosing

Flexbox or Grid? A simple rule for choosing

Comments
1 min read
Weatherly: Building a Modern Weather Dashboard Using HTML, CSS, JavaScript and OpenWeather API

Weatherly: Building a Modern Weather Dashboard Using HTML, CSS, JavaScript and OpenWeather API

1
Comments
2 min read
Dark mode without the flash

Dark mode without the flash

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