Motion that respects people: reduced-motion as a first-class state
Roughly one in three adults is sensitive to large motion. When a portfolio site animates the whole viewport, that is not a flourish — it is a barrier.
Start with the media query, not the animation
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.001ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.001ms !important;
scroll-behavior: auto !important;
}
}
That single rule killed every infinite loop on this site, including the glitch canvas and the logo marquee.
Keep the information, drop the travel
A section that fades in should still appear instantly; it just should not slide 200px while doing it. Opacity is far gentler than transform.
Test with the real setting
macOS: Accessibility → Display → Reduce motion. Windows: Settings → Accessibility → Visual effects → Animation effects. Enable it and browse your own site for five minutes.