2026 CSS reference

CSS that ships.
No JavaScript required.

Copy-paste snippets, live demos, deep-dive articles, and LLM-ready prompts for container queries, :has(), scroll-driven animations, OKLCH, and the CSS that's replacing JavaScript.

Live demos

Every snippet has a working demo above the code — you see the output before you copy.

One-click copy

Copy the CSS or the LLM prompt in a single click — no sign-in, no friction.

LLM-ready prompts

Each snippet includes a crafted prompt for your coding assistant — not just "recreate this" but specific, framework-aware, edge-case-aware instructions.

Baseline badges

Every snippet is labeled "Widely supported" or "Experimental" so you know before you ship.

Featured snippets

View all 40 →
Widely supported

Modern glassmorphism

backdrop-filter + oklch() — frosted glass with one CSS rule.

colorui
Widely supported

Scroll progress bar

Reading indicator driven by animation-timeline: scroll().

animationno-js
Widely supported

:has() dropdown

Style a parent when a child is open — pure CSS interactivity.

uino-js

Trend articles

View all 41 →

State-aware CSS

if(), @scope, and scroll-state queries that reduce JavaScript.

new-feature

Functional motion

Using scroll and view timelines for UX, not just decoration.

animationperformance