
Micro-Animations: Bringing Websites to Life Subtly
Want to know how your own site is doing?
Subtle animations enhance user experience and engagement. Discover what works, what doesn't, and how to implement them effectively.
Author: Kodulehehaldus
What are micro-animations?
A micro-animation is a small, purposeful movement within a UI element: a button hover effect, page transition, loading state, or form validation.
Good vs Bad Animation
Good
- Provides feedback ("the button was clicked")
- Directs attention (a new notification)
- Clarifies relationships (where an element moves from/to)
- Reduces perceived waiting time (loading skeletons)
- Is fast (under 400ms)
Bad
- Slow (1+ second)
- Directing attention without cause
- Constant movement (distracting)
- Purpose-less "wow-factor"
- Does not respect prefers-reduced-motion
Most Common Micro-animations
1. Button Hover
button {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}2. Page Transition
Framer Motion is the standard in React:
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.4 }}
>3. Loading State
Skeleton screens > spinner. See Facebook design pattern.
4. Form Validation
Real-time feedback: green checkmark, red shake.
5. Scroll Animations
Elements appearing during scroll (Intersection Observer).
6. Lottie Animations
Designer-made animations: LottieFiles.
Performance
Animations consume CPU. The rules:
- Animate only transform and opacity – anything else causes a repaint
- Maximum 60fps (16.67ms per frame)
- Less on mobile (battery conservation)
- Respect prefers-reduced-motion
@media (prefers-reduced-motion: reduce) {
* {
animation: none !important;
transition: none !important;
}
}Tools
- CSS – simpler, better performance
- Framer Motion – React-based, declarative
- GSAP – for complex sequences and performance
- Lottie – for designer-led assets
- Rive – for interactive animations
When Not to Animate
- Content body (readability suffers)
- Pricing tables (the decision is important, not the effect)
- Legal texts
- 404 pages (the user is already frustrated)
Estonian Websites
Micro-animations remain underutilised in the Estonian market. Use this to your advantage – a modern, lively site sets you apart from competitors. See web design trends 2026.
A/B Test Example
Client e-shop: added a micro-animation to the "add to cart" button (a green tick animation). The number of add-to-cart clicks increased by 18%.
Summary
Micro-animations are the spice of design – a little is perfect, but too much ruins the flavour. We offer website design featuring optimised micro-animations that boost conversion. Request a quote.
Sources
Join the newsletter
Once a month, practical tips on making your website faster, more secure and easier to find on Google and in AI search.
Author
Kodulehehaldus.com (Innov8it OÜ) – an Estonian web agency that builds, maintains and optimises websites.