Skip to content

Conversation

@fellipeutaka
Copy link

Adds motion-direction-{keyword} utilities for controlling CSS animation-direction property.

Added utilities

  • motion-direction-normal - plays animation forward
  • motion-direction-reverse - plays animation backward
  • motion-direction-alternate - alternates forward/backward each cycle
  • motion-direction-alternate-reverse - starts backward, then alternates

Utilities apply to element and ::before/::after pseudo-elements, consistent with existing motion utilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant