Imperator Design
The library

Techniques, not templates

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

1 / 2

CSS :has() Gallery Spotlight

Demonstrates the CSS :has() selector by creating a gallery where hovering over one item dims all other items, effectively spotlighting the hovered element purely with CSS.

csshoverinteractionselectorhasgallery
2 / 2

Interactive Radio Cards

A set of custom-styled radio buttons where selecting an option dynamically updates the appearance of its entire parent card using the `:has()` CSS selector for a premium feel.

cssformscardsselectionradio buttonshas