Puff In / Puff Out
Also called Puff
The element scales from a large, blurred, transparent state down into focus, like a puff of smoke, or the reverse when leaving.
Use for
Soft object appearance
Variants
- in
- out
Also called Puff
The element scales from a large, blurred, transparent state down into focus, like a puff of smoke, or the reverse when leaving.
Soft object appearance
Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.
Add a "Puff In / Puff Out" animation (also called puff) to [where].
When it appears, the element should shrink from a large, blurred, transparent state into sharp focus like a settling puff of smoke; when it leaves, it should swell back into a blur and vanish: soft and fairly quick.
Keep the enlarged state from pushing the layout or causing scrollbars, and switch instantly when the user prefers reduced motion (prefers-reduced-motion).