Skip to content

Early-bird lifetime licence: $199 once, for the first 200 buyers only. See the offer

Respect “reduce motion” settings

Visitors who asked their device to reduce motion get no smooth scrolling, animations or transitions on your site.

  • Type CSS (CSS)
  • Runs Public site, in the page head
  • Category Design
  • Tested with WordPress 7.1
CSS
@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

In these packs

  • Design touches: Small front-end touches: a reading progress bar, an announcement bar, a WhatsApp button, accessibility fixes.

Move your snippets over this afternoon.

Importing changes nothing until you switch over, and your old shortcodes keep working.