m1guelpf/mute.guru

Respect reduced motion for hero background animation and add play/pause button

Aperta

#1 aperta il 1 set 2022

 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (1 fork)user submission
enhancementgood first issue

Metriche repository

Star
 (19 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

You probably can use Window.matchMedia() to check for this. The play/pause button would be helpful for those who don’t usually have reduced motion set, as the hero animation is quite overwhelming (at least in my opinion).

Guida contributor