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.
A course sales page in Next.js 16 with zero UI dependencies (sticky CTA, pricing toggle, accordions)

A course sales page in Next.js 16 with zero UI dependencies (sticky CTA, pricing toggle, accordions)

Comments
2 min read
I replaced GSAP DrawSVG with 4.4 KB (and it uses native CSS where it can)

I replaced GSAP DrawSVG with 4.4 KB (and it uses native CSS where it can)

1
Comments
5 min read
I built a tool that races you against the marathon world record

I built a tool that races you against the marathon world record

Comments
2 min read
You reached for !important again. @layer is the real fix.

You reached for !important again. @layer is the real fix.

12
Comments
4 min read
Writing unit test for Firefox private browsing window

Writing unit test for Firefox private browsing window

Comments
5 min read
10 Cool CodePen Demos (June 2026)

10 Cool CodePen Demos (June 2026)

3
Comments
3 min read
Making SVG social-media templates rebrandable in 6 lines with CSS classes

Making SVG social-media templates rebrandable in 6 lines with CSS classes

Comments
2 min read
Why Your Dark Mode Flashes Before JavaScript Runs

Why Your Dark Mode Flashes Before JavaScript Runs

11
Comments 2
5 min read
I built a free CSS Mobile-First Converter

I built a free CSS Mobile-First Converter

Comments
4 min read
Position tooltips and popovers with native CSS — zero runtime JS

Position tooltips and popovers with native CSS — zero runtime JS

Comments 1
6 min read
Building Fluentic Style: Bringing React Native Style Composition to React

Building Fluentic Style: Bringing React Native Style Composition to React

1
Comments
14 min read
CSS – only a Nerdy Hobby?

CSS mastery in an AI-driven era

CSS – only a Nerdy Hobby?

45
Comments 19
3 min read
The page transition you pay a library for is now free

The page transition you pay a library for is now free

6
Comments 3
4 min read
UI Kernel: Design Tokens as Symfony infrastructure

UI Kernel: Design Tokens as Symfony infrastructure

Comments
8 min read
CSS Gradients in 2026: Linear, Radial, and Conic — A Complete Reference

CSS Gradients in 2026: Linear, Radial, and Conic — A Complete Reference

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