tomayac’s avatartomayac’s Twitter Archive—№ 14,046

  1. …in reply to @sarah_edo
    @sarah_edo One way to do it would be to feature-detect support for the media feature and then pre-check (or not) the current checkbox: js if (matchMedia('(prefers-reduced-motion)').media !== 'not all' && matchMedia('(prefers-reduced-motion:reduce)').matches) { // No parallax }