Skip to content

Commit

Permalink
Remove -ms- prefixes
Browse files Browse the repository at this point in the history
Since IE10 dropped the animation, transform, and transition prefixes,
and no stable release was made with them, we can safely drop the
prefixes, too. Cutting a good 20% off the file sizes!
  • Loading branch information
daneden committed Jul 9, 2012
1 parent 13e1439 commit b3fae9f
Show file tree
Hide file tree
Showing 58 changed files with 4 additions and 1,613 deletions.
778 changes: 3 additions & 775 deletions animate.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion animate.min.css

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions source/bounce.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
60% {-moz-transform: translateY(-15px);}
}

@-ms-keyframes bounce {
0%, 20%, 50%, 80%, 100% {-ms-transform: translateY(0);}
40% {-ms-transform: translateY(-30px);}
60% {-ms-transform: translateY(-15px);}
}

@-o-keyframes bounce {
0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
40% {-o-transform: translateY(-30px);}
Expand All @@ -30,7 +24,6 @@
.bounce {
-webkit-animation-name: bounce;
-moz-animation-name: bounce;
-ms-animation-name: bounce;
-o-animation-name: bounce;
animation-name: bounce;
}
21 changes: 0 additions & 21 deletions source/bounceIn.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,6 @@
}
}

@-ms-keyframes bounceIn {
0% {
opacity: 0;
-ms-transform: scale(.3);
}

50% {
opacity: 1;
-ms-transform: scale(1.05);
}

70% {
-ms-transform: scale(.9);
}

100% {
-ms-transform: scale(1);
}
}

@-o-keyframes bounceIn {
0% {
opacity: 0;
Expand Down Expand Up @@ -101,7 +81,6 @@
.bounceIn {
-webkit-animation-name: bounceIn;
-moz-animation-name: bounceIn;
-ms-animation-name: bounceIn;
-o-animation-name: bounceIn;
animation-name: bounceIn;
}
21 changes: 0 additions & 21 deletions source/bounceInDown.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,6 @@
}
}

@-ms-keyframes bounceInDown {
0% {
opacity: 0;
-ms-transform: translateY(-2000px);
}

60% {
opacity: 1;
-ms-transform: translateY(30px);
}

80% {
-ms-transform: translateY(-10px);
}

100% {
-ms-transform: translateY(0);
}
}

@-o-keyframes bounceInDown {
0% {
opacity: 0;
Expand Down Expand Up @@ -101,7 +81,6 @@
.bounceInDown {
-webkit-animation-name: bounceInDown;
-moz-animation-name: bounceInDown;
-ms-animation-name: bounceInDown;
-o-animation-name: bounceInDown;
animation-name: bounceInDown;
}
21 changes: 0 additions & 21 deletions source/bounceInLeft.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,6 @@
}
}

@-ms-keyframes bounceInLeft {
0% {
opacity: 0;
-ms-transform: translateX(-2000px);
}

60% {
opacity: 1;
-ms-transform: translateX(30px);
}

80% {
-ms-transform: translateX(-10px);
}

100% {
-ms-transform: translateX(0);
}
}

@-o-keyframes bounceInLeft {
0% {
opacity: 0;
Expand Down Expand Up @@ -101,7 +81,6 @@
.bounceInLeft {
-webkit-animation-name: bounceInLeft;
-moz-animation-name: bounceInLeft;
-ms-animation-name: bounceInLeft;
-o-animation-name: bounceInLeft;
animation-name: bounceInLeft;
}
21 changes: 0 additions & 21 deletions source/bounceInRight.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,6 @@
}
}

@-ms-keyframes bounceInRight {
0% {
opacity: 0;
-ms-transform: translateX(2000px);
}

60% {
opacity: 1;
-ms-transform: translateX(-30px);
}

80% {
-ms-transform: translateX(10px);
}

100% {
-ms-transform: translateX(0);
}
}

@-o-keyframes bounceInRight {
0% {
opacity: 0;
Expand Down Expand Up @@ -101,7 +81,6 @@
.bounceInRight {
-webkit-animation-name: bounceInRight;
-moz-animation-name: bounceInRight;
-ms-animation-name: bounceInRight;
-o-animation-name: bounceInRight;
animation-name: bounceInRight;
}
20 changes: 0 additions & 20 deletions source/bounceInUp.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,6 @@
-moz-transform: translateY(0);
}
}
@-ms-keyframes bounceInUp {
0% {
opacity: 0;
-ms-transform: translateY(2000px);
}

60% {
opacity: 1;
-ms-transform: translateY(-30px);
}

80% {
-ms-transform: translateY(10px);
}

100% {
-ms-transform: translateY(0);
}
}

@-o-keyframes bounceInUp {
0% {
Expand Down Expand Up @@ -99,7 +80,6 @@
.bounceInUp {
-webkit-animation-name: bounceInUp;
-moz-animation-name: bounceInUp;
-ms-animation-name: bounceInUp;
-o-animation-name: bounceInUp;
animation-name: bounceInUp;
}
21 changes: 0 additions & 21 deletions source/bounceOut.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,6 @@
}
}

@-ms-keyframes bounceOut {
0% {
-ms-transform: scale(1);
}

25% {
-ms-transform: scale(.95);
}

50% {
opacity: 1;
-ms-transform: scale(1.1);
}

100% {
opacity: 0;
-ms-transform: scale(.3);
}
}

@-o-keyframes bounceOut {
0% {
-o-transform: scale(1);
Expand Down Expand Up @@ -101,7 +81,6 @@
.bounceOut {
-webkit-animation-name: bounceOut;
-moz-animation-name: bounceOut;
-ms-animation-name: bounceOut;
-o-animation-name: bounceOut;
animation-name: bounceOut;
}
17 changes: 0 additions & 17 deletions source/bounceOutLeft.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,6 @@
}
}

@-ms-keyframes bounceOutLeft {
0% {
-ms-transform: translateX(0);
}

20% {
opacity: 1;
-ms-transform: translateX(20px);
}

100% {
opacity: 0;
-ms-transform: translateX(-2000px);
}
}

@-o-keyframes bounceOutLeft {
0% {
-o-transform: translateX(0);
Expand Down Expand Up @@ -81,7 +65,6 @@
.bounceOutLeft {
-webkit-animation-name: bounceOutLeft;
-moz-animation-name: bounceOutLeft;
-ms-animation-name: bounceOutLeft;
-o-animation-name: bounceOutLeft;
animation-name: bounceOutLeft;
}
17 changes: 0 additions & 17 deletions source/bounceOutRight.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,6 @@
}
}

@-ms-keyframes bounceOutRight {
0% {
-ms-transform: translateX(0);
}

20% {
opacity: 1;
-ms-transform: translateX(-20px);
}

100% {
opacity: 0;
-ms-transform: translateX(2000px);
}
}

@-o-keyframes bounceOutRight {
0% {
-o-transform: translateX(0);
Expand Down Expand Up @@ -81,7 +65,6 @@
.bounceOutRight {
-webkit-animation-name: bounceOutRight;
-moz-animation-name: bounceOutRight;
-ms-animation-name: bounceOutRight;
-o-animation-name: bounceOutRight;
animation-name: bounceOutRight;
}
17 changes: 0 additions & 17 deletions source/bounceOutUp.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,6 @@
}
}

@-ms-keyframes bounceOutUp {
0% {
-ms-transform: translateY(0);
}

20% {
opacity: 1;
-ms-transform: translateY(20px);
}

100% {
opacity: 0;
-ms-transform: translateY(-2000px);
}
}

@-o-keyframes bounceOutUp {
0% {
-o-transform: translateY(0);
Expand Down Expand Up @@ -81,7 +65,6 @@
.bounceOutUp {
-webkit-animation-name: bounceOutUp;
-moz-animation-name: bounceOutUp;
-ms-animation-name: bounceOutUp;
-o-animation-name: bounceOutUp;
animation-name: bounceOutUp;
}
Loading

0 comments on commit b3fae9f

Please sign in to comment.