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 flattening your typography tokens: Preserving bound aliases in W3C exports

Stop flattening your typography tokens: Preserving bound aliases in W3C exports

Comments
5 min read
My Website's Readability is Lacking? Solved with Pretendard Font and Code Line Wrapping (2026)

My Website's Readability is Lacking? Solved with Pretendard Font and Code Line Wrapping (2026)

Comments 3
3 min read
How I built a Social Safe Zone Previewer for TikTok & Reels in Vanilla JS

How I built a Social Safe Zone Previewer for TikTok & Reels in Vanilla JS

Comments
1 min read
Why I stopped using design tokens as implementation details

Why I stopped using design tokens as implementation details

Comments
1 min read
I built a free Glassmorphism CSS Generator to speed up UI design 🎨

I built a free Glassmorphism CSS Generator to speed up UI design 🎨

Comments
1 min read
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
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
Your scroll listener is doing CSS's job

Your scroll listener is doing CSS's job

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