Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spin CW vs CCW #76

Open
adipurdila opened this issue Mar 23, 2016 · 1 comment
Open

Spin CW vs CCW #76

adipurdila opened this issue Mar 23, 2016 · 1 comment

Comments

@adipurdila
Copy link

The spin keyframe function seems to generate the same keyframe, no matter what direction I choose for the animation.

So these:

@include mui-animation(spin(ccw));
@include mui-animation(spin(cw));

results in this:

.spin-cw {
  animation-name: spin-cw-1turn; }
@keyframes spin-cw-1turn {
  0% {
    transform: rotate(-1turn); }
  100% {
    transform: rotate(0); } }
.spin-ccw {
  animation-name: spin-cw-1turn; }
@keyframes spin-cw-1turn {
  0% {
    transform: rotate(0); }
  100% {
    transform: rotate(1turn); } }

Wouldn't a CCW rotation be like this?

@keyframes spin-ccw-1turn {
  0% {
    transform: rotate(0); }
  100% {
    transform: rotate(-1turn); } }
@ghost
Copy link

ghost commented Aug 30, 2016

I am experiencing the same issue.

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

No branches or pull requests

1 participant