Volume 4
Hidden
gems.
Individually tiny. Together, the difference between an interface that feels functional and one that feels crafted. Every feature here is cross-browser and costs nothing to add.
@property
Animate CSS custom properties. The unlock nobody knows about.
CSS variables can't be transitioned — the browser doesn't know their type. @propertytells the browser "this is an angle" or "this is a color," making it animatable. This unlocks: gradient rotation, hue shifting, counter animation — all in CSS.
accent-color
Theme every native form control. One property.
::selection
Even selected text can be on brand.
Select this text to see the custom highlight
Drag across these words. The selection colour changes based on your chosen theme above. A tiny detail that signals thoughtfulness. Most websites leave the default blue — which clashes with almost every brand palette. Two lines of CSS to fix.
::selection { background; color }. Works everywhere. Tiny detail that 99% of sites leave as browser-default blue.clip-path
Elements shaped beyond rectangles.
Every element on the web is a rectangle. clip-path breaks that. Hexagons, diamonds, stars, arrows — any polygon. Hover to see them transition (clip-path is animatable).
Hexagon
Diamond
Star
Cross
Arrow
Blob
shape-outside
Text that wraps around shapes. Magazine layouts.
This text wraps around the circle — not in a rectangular box, but following the actual curve. This is how magazine layouts work. The CSS property shape-outside: circle(50%)tells the browser the float's shape boundary is circular, and inline content flows around it. You can use ellipse(), polygon(), or even url() to reference an image's alpha channel as the shape boundary. Combined with clip-path, you get editorial-quality text layouts with pure CSS. This has been supported in all browsers since 2018 and almost nobody uses it. It works with any floated element and costs nothing in performance.
Animate to auto
The holy grail. CSS can finally do it.
For years, animating from height: 0 to height: auto was impossible in CSS. You needed JS to measure the element, then animate to the pixel value. Now: interpolate-size: allow-keywords.
interpolate-size: allow-keywords is in Chrome 129+ and Safari 18.2+. For older browsers, the content simply appears without animation.Form Polish
Auto-resize textareas. Branded cursors. Zero JS.
field-sizing: content (auto-grow textarea)
The textarea grows as you type. No JS auto-resize library needed.
caret-color (branded text cursor)
Click into each field. The blinking cursor matches your brand.
field-sizing: content replaces every auto-resize textarea library in your codebase. caret-color is supported everywhere since 2018 and almost nobody sets it. Two properties. Instant polish.CSS Counters
Auto-numbering. Styled however you want.
decimal-leading-zero for 01, 02, 03... or upper-roman for I, II, III. The numbers can be coloured, sized, and positioned independently of the content.One-Liners
Each is a single property. Each improves perceived quality.
overscroll-behavior: containStops scroll chaining — inner scrollable areas don't bounce the outer page.
All browsersscroll-behavior: smoothNative smooth scrolling for anchor links. No JS library.
All browsersaspect-ratio: 16/9Maintains aspect ratio without the padding-top hack. Clean responsive images/videos.
All browsersobject-fit: coverImages fill their container like background-size: cover but for <img> tags.
All browsersuser-select: allClick once to select entire content. Perfect for code blocks, API keys, tokens.
All browsersisolation: isolateCreates a new stacking context. Prevents blend-mode from leaking to siblings.
All browsersimage-rendering: pixelatedCrisp pixel scaling. For pixel art, QR codes, small icons scaled up.
All browserstouch-action: manipulationRemoves 300ms tap delay on mobile. Prevents accidental double-tap zoom.
All browserscontent-visibility: autoBrowser skips rendering off-screen elements. Can reduce initial render by 50%+.
Chrome, Edge, Firefoxprefers-reduced-motionRespect users who get motion-sick. Disable animations for them. Accessibility win.
All browsersEnd of Volume 4
Polish is not
one big thing.
It's fifty small ones.
Branded form controls. Custom text selection. Shape-wrapped text. Auto-resizing textareas. Smooth height animations. Animated gradients. CSS counters. Ten one-liner wins. None of these are expensive. All of them are noticed — even when people can't say why.