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 Using JS for Everything: Harnessing the Power of Pure CSS in 2026

Stop Using JS for Everything: Harnessing the Power of Pure CSS in 2026

Comments
3 min read
Responsive Navbar HTML CSS — 30 Patterns with Code (2025)

Responsive Navbar HTML CSS — 30 Patterns with Code (2025)

1
Comments
4 min read
Tailwind CSS vs CSS Modules — What I Use in Production

Tailwind CSS vs CSS Modules — What I Use in Production

7
Comments 2
11 min read
Why we still hand-code marketing sites in 2026 (GSAP, no page builder)

Why we still hand-code marketing sites in 2026 (GSAP, no page builder)

Comments
4 min read
Stop Specificity Wars: Master CSS Cascade Layers in React ⚡

Stop Specificity Wars: Master CSS Cascade Layers in React ⚡

Comments
3 min read
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
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
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
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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.