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 / 3

Native Popover Dialog, No Library

A button with popovertarget and an element with popover is the whole implementation. The browser puts it in the top layer, closes it on Escape, closes it when you click outside, and hands you ::backdrop to style — none of which you wrote. The script here only opens it on a loop so the demo plays; the open and close buttons are pure markup.

popoverdialogmodalhtmltop layerno javascript
2 / 3

Native-Feeling Modal Dialog with Backdrop Blur and Scale-in

This UI trick demonstrates how to create a modal dialog that feels native by combining a dimmed and blurred backdrop with a subtle scale-in and fade-in animation, making the dialog appear with depth and focus.

animationuxcsstransitiondialogbackdrop-filtermodal
3 / 3

Animated Delete Confirmation Modal

A modal dialog with a backdrop that animates between a confirmation state (delete project) and a success state (project deleted) with distinct icon and content transitions. The modal itself subtly changes size during the state transition.

animationuitransitiondialogmodalconfirmation