Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Conversation

@venikx
Copy link
Contributor

@venikx venikx commented Oct 21, 2020

The change adds the *::before and *::after in the reduce motion media query. Effectively these additions should prevent any animations which were happening in these pseudo-elements when the user has opted to reduce the motion.

Why?
I've come across an edge case where I'm animating an ::after (not sure if that's the ideal way to do it), but animations should be disabled for these pseudo-elements as well.

The change adds the `*::before` and *::after` in the reduce motion media query. Effectively these additions should prevent any animations which were happening in these pseudo-elements when the user has opted to reduce the motion. 

Why?
I've come across an edge case where I'm animating an `::after` (not sure if that's the ideal way to do it), but animations should be disabled for these pseudo-elements as well.
@Andy-set-studio
Copy link
Owner

Thank you!

@Andy-set-studio Andy-set-studio merged commit 4dff0e4 into Andy-set-studio:master Nov 6, 2020
@venikx venikx deleted the patch-1 branch November 14, 2020 18:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants