Toolvito

Calculates on this device. File exports run online.

Reduced Motion Preview

People can ask their device for less motion, and pages see this as prefers-reduced-motion: reduce. Paste your CSS to see what each animation does then, and get a block of CSS that calms what still moves. A live page can be shown side by side, without and with reduced motion.

Enter your values

Paste a style sheet, or an HTML page with <style> blocks.

Your values

It is read in this browser and is not sent anywhere.

Jumping to the end keeps what an animation shows at its end, without the movement.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose the button below them.

Preview in a real browser

Preview in a real browser

The page or the HTML of the result above is opened twice in Chromium on the Toolvito server. The filmstrip shows screenshots of both views over a few seconds, one row each, with the share of the screen that changed.

Below 768 px a phone screen is used. From 320 to 1920.

From 1 to 8 seconds.

From 2 to 8.

Pasted CSS is previewed in this browser. The online screenshot action sends the web address or pasted HTML to Toolvito to open in a server browser. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

How to use it

  1. Choose Preview your CSS with reduced motion and paste a style sheet or a whole HTML page.
  2. Choose how to calm the motion: Turn it off, or Jump to the end state (the end of each animation shows at once).
  3. Press Preview. The table shows each animation and transition normally, with reduced motion now, and with the new block.
  4. Copy or download the block and add it at the end of your CSS.
  5. To see a page in a real browser, paste a whole HTML page, or choose Preview a live web page and type its address, then press Make the preview in the box below.

How the block works

The block is a @media (prefers-reduced-motion: reduce) rule. Browsers use it only for visitors who have asked for less motion, so other visitors see the page as before. Its rules use !important, so they win over the rules they calm.

Fades and colour changes are not motion in the WCAG 2.2 sense and are left alone unless you tick Also calm fades and colour changes.

How to turn reduced motion on yourself

  • Most systems have a setting with a name such as "Reduce motion" or "Show animations" in their accessibility or display settings.
  • Browser developer tools can also pretend that the setting is on, so you can test without changing your system.

Limits

  • The CSS preview reads text only: an override written with another selector that matches the same elements is not seen. The browser preview shows what really runs.
  • The browser preview watches the page right after it loads. Motion that starts on scrolling or on a click is not shown.
  • This is a preview and an automated check, not a statement of WCAG conformance.

Related tools