Closed waynegraham closed 2 years ago
Only use the smooth scrolling navigation elements (top header and scroll-top) if
const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion)').matches; prefersReducedMotion == false;
Only use the smooth scrolling navigation elements (top header and scroll-top) if