The library

Techniques, not templates

Every trick recreated from the source video as a live, self-contained demo. Search, filter, open, steal.

1 / 2

Inverting Headline: White Minus the Backdrop

One line, and the headline stops needing a colour. mix-blend-mode: difference subtracts the two layers channel by channel, so white text hands back the exact inverse of whatever is under it: black on a bright sheet, white on a dark hero, cyan over magenta, all of it per pixel and without a second copy of the text. Three things bound it. Mid grey is the blind spot, since 128 against 255 comes back as 127, the grey it was meant to beat. Only white is a true invert, because any other colour has channels it cannot fully subtract. And a blended element reads everything painted beneath it in its stacking context, so isolation: isolate on the scene is what stops the headline from subtracting the whole page.

csscontrasttypographytextcolorblend-modeno-jshero
2 / 2

60-30-10 Color Ratio Rule

This snippet illustrates the 60-30-10 color rule, showing how the same layout can appear 'cheap' or 'expensive' based on color distribution. The 'cheap' version uses many colors at full saturation, creating visual noise, while the 'expensive' version uses a calm neutral base (60%), a supporting secondary color (30%), and a single accent for key actions (10%), creating clear hierarchy and a refined feel.

csscontrastcolorslayoutuidesignvisualhierarchy