Describe a restrained website animation
Motion should support the content and respect a visitor's preferences.
Start with the task and the source
Give an AI coding tool specific requirements and review the result one section at a time. Use the original record, approved brief or supplied specification as your starting point. The worked example below shows one way to organise the task; replace its assumptions only with information you have checked.
- Write down the input and the question you want to resolve.
- Separate confirmed facts from missing or ambiguous information.
- Follow the example with your own verified inputs, preserving units, scope and source references.
- Complete the review check before sending, publishing or acting on the result.
Work through the example
The starting point
A fictional hero section fades in its heading only after a scroll trigger. On a reduced-motion setup, the animation stops but the heading remains transparent.
What to do
Set the readable final state as the default. Treat animation as an enhancement, with a reduced-motion rule that removes movement while keeping the content visible. Keep the main action usable before any effect runs.
What the result means
Test normal motion, reduced motion and JavaScript unavailable. The result should communicate the same offer in each case. Avoid declaring a performance improvement unless you actually measured the relevant page behaviour.
Check before you use it
Test the page with reduced motion enabled and JavaScript unavailable.
Keep the original source available so you can compare it with the draft. Leave unresolved questions visible rather than filling them with guessed facts. An AI-generated draft is an aid to review; it does not perform a payment, send a message, publish content or establish a professional conclusion.
Optional prompt to organise your draft
Replace the bracketed placeholders with fictional or anonymised information. Do not paste credentials, payment details, client records or confidential family documents. Use the prompt to prepare a draft, then check it against the method above.
Specify one subtle animation for [section] on [website type]. Define its purpose, duration, trigger and final state. Include reduced-motion behaviour and a fully readable state when animation fails. Avoid making essential copy depend on a scroll effect or delaying the primary action.