Skip to content

Commit 3b7735b

Browse files
committed
Fixed #293 -- animations should only run when the animated class is used.
1 parent 8f548f8 commit 3b7735b

5 files changed

Lines changed: 10 additions & 4 deletions

File tree

source/_base.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,13 @@ Copyright (c) 2015 Daniel Eden
1818
.animated.hinge {
1919
animation-duration: 2s;
2020
}
21+
22+
.animated.bounceIn,
23+
.animated.bounceOut {
24+
animation-duration: .75s;
25+
}
26+
27+
.animated.flipOutX,
28+
.animated.flipOutY {
29+
animation-duration: .75s;
30+
}

source/bouncing_entrances/bounceIn.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@
3333

3434
.bounceIn {
3535
animation-name: bounceIn;
36-
animation-duration: .75s;
3736
}

source/bouncing_exits/bounceOut.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@
1616

1717
.bounceOut {
1818
animation-name: bounceOut;
19-
animation-duration: .75s;
2019
}

source/flippers/flipOutX.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@
1616

1717
.flipOutX {
1818
animation-name: flipOutX;
19-
animation-duration: .75s;
2019
backface-visibility: visible !important;
2120
}

source/flippers/flipOutY.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@
1717
.flipOutY {
1818
backface-visibility: visible !important;
1919
animation-name: flipOutY;
20-
animation-duration: .75s;
2120
}

0 commit comments

Comments
 (0)