15525 shaares
@media (prefers-reduced-motion: no-preference) {
img {
animation-play-state: running;
/ turn animations on if user doesn't mind /
}
}
@media not (update: fast) {
img {
animation-play-state: paused;
/ except, turn them off again if the browser can't draw them effectively anyway /
}
}