Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Use static images for users that prefer "reduced motion" #340

@oskarrough

Description

@oskarrough

The reduced-motion media query is something users can control on the OS-level. This article explains how to use it, like any other media query, inside the <picture> element to show a static image instead of a gif: http://bradfrost.com/blog/post/reducing-motion-with-the-picture-element/

This is pretty neat for performance and we already have the picture element in place in https://github.com/internet4000/radio4000/blob/master/app/components/channel-cover/template.hbs

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions