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.
Pin agent breakpoints to the existing breakpoint tokens — no magic media-query pixels

Pin agent breakpoints to the existing breakpoint tokens — no magic media-query pixels

2
Comments
2 min read
CSS Typed OM: CSS values as objects, not strings

CSS Typed OM: CSS values as objects, not strings

Comments
4 min read
Restart a CSS animation

Restart a CSS animation

Comments
4 min read
Responsive Images for Business Website Project Pages

Responsive Images for Business Website Project Pages

Comments
7 min read
My SVG Data URI Background Showed Nothing. Three Fixes That Covered Every Case

My SVG Data URI Background Showed Nothing. Three Fixes That Covered Every Case

Comments
3 min read
Our stylesheet registers 53 custom properties, and 44 of them never leave their starting value on any of our 38 pages

Our stylesheet registers 53 custom properties, and 44 of them never leave their starting value on any of our 38 pages

1
Comments
5 min read
Chrome 157 joins Firefox on custom text-overflow strings, with Safari in beta

Chrome 157 joins Firefox on custom text-overflow strings, with Safari in beta

1
Comments 2
3 min read
Our homepage composites 14 layers and repaints 876 times in 20 idle seconds, and 696 of those are the demo that types

Our homepage composites 14 layers and repaints 876 times in 20 idle seconds, and 696 of those are the demo that types

1
Comments
5 min read
551 CSS rules serve all 38 of our pages, and 39 of them match nothing anywhere

551 CSS rules serve all 38 of our pages, and 39 of them match nothing anywhere

1
Comments
6 min read
A Ten-Minute grep Review for AI-Generated CSS

A Ten-Minute grep Review for AI-Generated CSS

Comments
3 min read
Re-theme an entire landing page with one class in Tailwind CSS v4

Re-theme an entire landing page with one class in Tailwind CSS v4

Comments
2 min read
Building a 19-page admin dashboard with Tailwind CSS v4 and no JavaScript framework

Building a 19-page admin dashboard with Tailwind CSS v4 and no JavaScript framework

Comments
3 min read
Why UI Screenshots Make Cursor & Claude Hallucinate (And How I Built a 64KB Shadow-DOM Inspector to Fix It)

Why UI Screenshots Make Cursor & Claude Hallucinate (And How I Built a 64KB Shadow-DOM Inspector to Fix It)

Comments
1 min read
Our save buttons hold both labels in one grid cell, and the five rules behind every form that no longer moves

Our save buttons hold both labels in one grid cell, and the five rules behind every form that no longer moves

1
Comments
3 min read
I tested my Vue skeleton directive on PrimeVue, Quasar and Element Plus

I tested my Vue skeleton directive on PrimeVue, Quasar and Element Plus

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