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