【发布时间】:2014-09-05 17:44:18
【问题描述】:
我一直在使用 Bootstrap 3、animate.css 和 Angular 来尝试制作快速动画。我希望班级反弹,停留几秒钟然后反弹。工作中的反弹,但它从不运行秒动画。如果有帮助,我在 Chrome 中。
<alert ng-repeat="alert in alerts" type="alert.type" close="alert.close()" class="alert" ng-bind="alert.msg"></alert>
</div>
.alert {
background-color: #FFC;
font-size:16px;
font-weight:bold;
color: #1b7817;
-Webkit-animation-name: animate, bounceInDown, bounceOutUp;
-Webkit-animation-duration: 2s, 2s;
animation: animate, bounceIn, bounceOutUp;
animation-duration: 2s, 2s;
}
【问题讨论】:
标签: angularjs css twitter-bootstrap-3 animate.css