Key Takeaways
- Animation helps sales when it explains something, guides the eye to the next step or confirms that an action worked.
- It hurts when it delays content, moves the page around while it loads or distracts from the message.
- Animate cheap properties such as position, size and opacity through CSS transforms, and avoid effects that force the browser to rework the layout.
- Respect the "reduce motion" setting on people's devices, and give visitors a way to pause anything that moves on its own for more than five seconds.
- Test every animation on a normal phone, not just a fast laptop, before it goes live.
Motion is one of the most effective tools in web design and one of the easiest to overuse. A button that responds when you tap it feels solid. A heading that slides in slowly while you wait to read it feels like a delay.
The difference between the two is not the amount of motion. It is whether the motion does a job for the visitor.
This guide explains when website animation helps people understand you and get in touch, when it slows your site down or puts people off, and how to use it safely: performance, accessibility and the browser settings you should respect.
When Motion Helps
Good animation answers a question the visitor has, often before they know they have it.
It Shows What Changed
When someone adds an item to a basket, opens a menu or sends a form, a short animation confirms that something happened. Without it, people tap again, wonder if the site is broken or leave. Small responses like these, often called microinteractions, make a site feel reliable. Our article on the role of microinteractions in web design covers them in more detail.
It Guides the Eye
A gentle movement can draw attention to the next step: a call to action, a new message or an important change. Used once on a page, it helps. Used on every element, it becomes noise and the visitor no longer knows where to look.
It Explains a Process
Some ideas are easier to show than to describe. An animated diagram of how your service works, how a product folds or how an order moves through steps can explain something in seconds. This is where motion design earns its keep.
It Shows That Something Is Happening
Some actions genuinely take time, such as sending a large form, processing a payment or loading search results. A simple progress indicator tells people the site is working and that they should wait rather than press the button again. Keep it small and honest: it should reflect real progress, not decorate a delay that you could remove.
It Builds Your Brand
A logo that moves in a consistent way, or transitions that share the same timing and style, can make a brand feel more distinctive. Our article on motion branding and animated logos explores this. Our brand videos and motion graphics service creates motion that stays consistent across your website, social media and adverts.
When Motion Hurts
Animation becomes a problem when it gets between the visitor and what they came for.
It Delays the Content
Text that fades in slowly, sections that wait to appear until you scroll and loading screens that play an animation before showing anything all make people wait. On a phone with a weak signal, the wait is longer still.
It Moves the Page Around
Animations that push content down or sideways while the page loads cause layout shifts. Visitors lose their place or tap the wrong thing. Google measures this as Cumulative Layout Shift, one of its Core Web Vitals. web.dev's guide to Cumulative Layout Shift explains how it is measured and how to avoid it.
It Makes the Site Feel Slow to Respond
Heavy animation code can keep the browser busy, so taps and clicks take longer to respond. Google measures responsiveness with Interaction to Next Paint. Our guide to finding and fixing slow interactions explains how to spot the problem.
It Distracts or Makes People Unwell
Constant movement makes text harder to read. For some people, large or fast motion can cause dizziness, headaches or nausea. More on that below.
Make Animation Fast
How you animate matters as much as what you animate. Browsers can move some things very cheaply and others only with a lot of work.
web.dev's guide to high-performance CSS animations recommends using transforms to move, rotate and resize elements, and opacity to show or hide them. Changing other properties, such as width, height or position values like top and left, can force the browser to recalculate the layout of the page on every frame. The guide's own example shows the difference in dropped frames between the two approaches.
In practice:
- Prefer CSS over heavy scripts for simple effects such as hovers, fades and slides.
- Animate transform and opacity, not width, height, margins or top and left.
- Avoid animating large images or videos behind important content.
- Load decorative animation after the main content, so the headline and call to action appear first.
- Limit the number of animation libraries you load. Each one adds code the visitor has to download.
- Check on a mid-range phone, using your browser's developer tools to look for dropped frames.
Newer browser features can help too. Our article on new CSS features in web design covers tools such as view transitions and scroll-driven animations, which can replace some older, heavier techniques. If 3D is part of your plans, our guide to 3D elements in web design explains how to add depth without losing speed.
Make Animation Accessible
Animation that ignores accessibility excludes some of your visitors and can make them feel unwell.
Respect the Reduce Motion Setting
Most phones and computers let people ask for less motion. On an iPhone, for example, it is under Settings, Accessibility, Motion. Websites can detect this setting using the prefers-reduced-motion media query, documented on MDN. MDN notes that some animations can trigger discomfort for people with vestibular motion disorders, and that scaling or panning large objects can be a trigger.
When the setting is on, replace large movements with simple fades or remove them altogether. The page should still make complete sense.
Let People Pause Moving Content
WCAG, the main accessibility standard, says that if something moves, blinks or scrolls on its own for more than five seconds alongside other content, there should be a way to pause, stop or hide it. The W3C's explanation of Pause, Stop, Hide covers carousels, scrolling news, background videos and auto-updating content. It is a Level A requirement, the most basic level.
Allow Motion Triggered by Scrolling to Be Turned Off
Parallax effects and animations that run as you scroll are common triggers for motion sickness. WCAG's guidance on Animation from Interactions says that motion triggered by interaction should be able to be disabled, unless it is essential. It is a stricter AAA requirement, but it is good practice for any business website.
Never Hide Key Content Behind Motion
Make sure people can read your services, prices and contact details without waiting for an animation, and that everything still works if the animation fails to load or is turned off.
For the legal background on accessibility in the UK, see our guide to UK website accessibility requirements. It is a summary, not legal advice.
A Simple Test for Every Animation
Before you keep an animation, put it through these questions.
| Question | If the answer is no |
|---|---|
| Does it help the visitor understand something or take the next step? | Remove it, or keep it very subtle |
| Does the main content appear without waiting for it? | Show the content first and animate afterwards |
| Does it use transform or opacity rather than layout properties? | Rebuild it, or replace it with a simpler effect |
| Does it respect the reduce motion setting? | Add a reduced or static version |
| Can moving content that lasts more than five seconds be paused? | Add a pause control or stop it automatically |
| Does it run smoothly on a mid-range phone? | Simplify it or remove it on small screens |
Toning Down a Homepage That Moved Too Much
Here is a fictional example. A boutique hotel's homepage opens with a full-screen video, a headline that types itself out letter by letter, parallax photographs and a booking bar that slides in after three seconds. It looks impressive on the designer's laptop. On a phone, guests wait for the headline, the page jumps when the booking bar arrives and the video drains their data.
The hotel keeps the feeling but changes the approach. A still photograph replaces the video on phones, with a short looping clip on larger screens that has a visible pause button. The headline appears straight away. The booking bar is part of the page from the start, so nothing jumps. Photographs use a gentle fade instead of parallax, and all large motion switches off when the reduce motion setting is on.
One animation stays exactly as it was: a small tick that confirms a booking request has been sent. It is the motion guests notice most, because it answers the question they care about.
Using Motion Well
Animation is worth using when it helps someone understand, decide or feel confident that something worked. It is worth removing when it delays content, moves the page around or gets in the way.
If your site feels slow, start with our guide to Core Web Vitals. Our website speed optimisation service can find which animations and scripts cost you the most, and our UX and UI design service can design motion that supports your message.
If you would like us to review the motion on your current site, send us a link and tell us which pages matter most. We will tell you what to keep, what to simplify and what to remove.
Frequently Asked Questions
Does website animation affect SEO?
Not directly, but it can affect things that matter. Animations that delay content, cause layout shifts or slow down responses to taps can harm Core Web Vitals and the visitor's experience. Light, well-built animation usually has little effect.
What is prefers-reduced-motion?
It is a browser feature that tells a website whether the visitor has asked their device for less motion. Websites can use it to replace large movements with simple fades or remove them, which helps people who experience discomfort from motion.
Are animated hero sections a good idea?
Only if the main message appears straight away and the page stays fast on phones. A heavy video or a slowly appearing headline at the top of the page delays the most important content. A still image with a small amount of motion is often enough.
Do carousels and sliders need a pause button?
If they move on their own for more than five seconds alongside other content, WCAG says people should be able to pause, stop or hide them. Many sites avoid auto-playing carousels altogether, which also makes the content easier to read.
Which CSS properties are safe to animate?
Transform and opacity are the cheapest for browsers to animate. They cover moving, rotating, scaling, fading in and fading out. Animating width, height or position values such as top and left usually costs more and can make animations stutter.




