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.
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
Why Your Dark Mode Flashes Before JavaScript Runs

Why Your Dark Mode Flashes Before JavaScript Runs

10
Comments 2
5 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
Naming many view transitions: attr() or match-element?

Naming many view transitions: attr() or match-element?

4
Comments
3 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
CSS – only a Nerdy Hobby?

CSS mastery in an AI-driven era

CSS – only a Nerdy Hobby?

43
Comments 17
3 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
The Developer's Guide to CSS Minification: Why It Matters and How to Do It

The Developer's Guide to CSS Minification: Why It Matters and How to Do It

Comments
3 min read
CSS Color Formats: A Practical Guide to HEX, RGB, HSL, and oklch

CSS Color Formats: A Practical Guide to HEX, RGB, HSL, and oklch

Comments
4 min read
Unlocking 60fps Layouts: CSS content-visibility in React ⚡

Unlocking 60fps Layouts: CSS content-visibility in React ⚡

Comments
2 min read
Real World Tailwind CSS: Controlling the Special Cases (Part 2/2)

Real World Tailwind CSS: Controlling the Special Cases (Part 2/2)

8
Comments 5
2 min read
⭐ State.js Basics — Learn CSS‑Driven Reactivity in 10 Minutes

⭐ State.js Basics — Learn CSS‑Driven Reactivity in 10 Minutes

Comments
3 min read
Capacitor Edge-to-Edge & Safe Areas: The Complete Guide

Capacitor Edge-to-Edge & Safe Areas: The Complete Guide

Comments
9 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.