animate动画后执行CSS样式
工作小记
动画后执行CSS样式
$(".position_div").animate({left:"2000px"},function(){
$(".report_table .bootstrap-table").css({
"width":"100%"
})
$(".report_table .bootstrap-table table").css({
"width":"100%"
})
})
实现动画animate.css
.position_div{
-webkit-animation: bounceInRight 1s 1 both;
}
参数animation: name duration timing-function delay iteration-count direction;
值 描述
animation-name 规定需要绑定到选择器的 keyframe 名称。。
animation-duration 规定完成动画所花费的时间,以秒或毫秒计。
animation-timing-function 规定动画的速度曲线。
animation-delay 规定在动画开始之前的延迟。
animation-iteration-count 规定动画应该播放的次数。
animation-direction 规定是否应该轮流反向播放动画。