Skip to content
WunderUI
All effectsButton

Iris Fill

A circle grows from the centre until it fills the whole button.

Pure CSSButton

Meant for

ButtonIcon Button

Usage

On a Button

Hover it. Scaling the circle to 2.1 rather than 1 is what lets it reach the corners of a rectangle. At scale 1 you get a circle that never fills the button. A 250 ms transition in on the entrance curve, 150 ms out on the exit curve, only where the device really hovers.

The class is wm wm-iris-fill — the first half is the marker the trigger and reduced-motion rules hook into, the second is the effect.