1

我正在使用unslider插件。

我只想在当前滑块打开时触发滑块内元素上的 animate.css

如果我没记错的话,unslider 在当前活动的滑块中添加了一个 .active 类,所以我试图做的是在我想要动画的元素中放置一个“测试”类,然后添加这个 css:

.active .test{
    -webkit-animation-name: bounceIn  !important;
    animation-name: bounceIn  !important;
    -webkit-animation-duration: .75s !important;
    animation-duration: .75s  !important;
  }

但是,它不起作用。

您可以在这里在线查看:http ://www.felipegrin.com/test-two/

4

0 回答 0