Add animations and transitions
Animate components when they scroll into view, with CSS-only transforms that keep your site fast.
Flipsite animations are pure CSS, so they don't add JavaScript libraries or slow your site down. An animation runs from a starting state to the component's normal state.
Add an animation
-
1Select the component you want to animate.
-
2Choose when it triggers: when the component scrolls into view, and if it should replay every time it scrolls out and back in.
-
3Under Transform, add the property you want to animate, for example Rotate X or Scale. The value you set is where the animation ends, usually the component's normal state.
-
4Add the same property in the animation variant. That value is where the animation starts.
-
5Preview the page and scroll to see it run.
Tips
- A small scale effect on a button (from 90% to 100%) draws attention without being distracting.
- Keep animations short. Visitors who prefer reduced motion should still get a usable page.