Skip to content

Commit

Permalink
Add translate3d to transform, closes barryclark#74.
Browse files Browse the repository at this point in the history
  • Loading branch information
johno committed Sep 25, 2014
1 parent d9b75f2 commit 24862c8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions _sass/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -454,20 +454,22 @@ Copyright (c) 2014 Daniel Eden
@keyframes fadeInDown {
0% {
opacity: 0;
-webkit-transform: translateY(-20px);
-ms-transform: translateY(-20px);
transform: translateY(-20px);

-webkit-transform: translateY(-20px) translate3d(0, 0, 0);
-ms-transform: translateY(-20px) translate3d(0, 0, 0);
transform: translateY(-20px) translate3d(0, 0, 0);
}

100% {
opacity: 1;
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);

-webkit-transform: translateY(0) translate3d(0, 0, 0);
-ms-transform: translateY(0) translate3d(0, 0, 0);
transform: translateY(0) translate3d(0, 0, 0);
}
}

.fade-in-down {
-webkit-animation-name: fadeInDown;
animation-name: fadeInDown;
animation-name: fadeInDown;
}

0 comments on commit 24862c8

Please sign in to comment.