.repeated-item{
overflow:hidden !important;
}
/*
We're using CSS transitions for when
the enter and move events are triggered
for the element that has the .repeated-item
class
*/
.repeated-item.ng-enter, .repeated-item.ng-move {
-webkit-transition:0.5s linear all;
-moz-transition:0.5s linear all;
-o-transition:0.5s linear all;
transition:0.5s linear all;
max-height:0;
}
/*
The ng-enter-active and ng-move-active
are where the transition destination properties
are set so that the animation knows what to
animate.
*/
.repeated-item.ng-enter.ng-enter-active,
.repeated-item.ng-move.ng-move-active {
max-height:20px;
}
/*
We're using CSS keyframe animations for when
the leave event is triggered for the element
that has the .repeated-item class
*/
.repeated-item.ng-leave {
-webkit-animation:1s my_animation;
-moz-animation:1s my_animation;
-o-animation:1s my_animation;
animation:1s my_animation;
}
@keyframes my_animation {
from { max-height:20px; }
to { max-height:0; }
}
/*
Unfortunately each browser vendor requires
its own definition of keyframe animation code...
*/
@-webkit-keyframes my_animation {
from { max-height:20px; }
to { max-height:0; }
}
@-moz-keyframes my_animation {
from { max-height:20; }
to { max-height:0; }
}
@-o-keyframes my_animation {
from { max-height:20; }
to { max-height:0; }
}