当滑块进入时,我试图让滑块的文本淡入(我的元素或构建器具有轮播类型滑块)。
为此,我将这些添加到head部分的页面标题中
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
接下来,我在我的文本div中添加了类,以显示我希望它如何消失
<div class="myDiv animated fadeInLeft" style="margin-bottom: 0; margin-top: 0;color: #FFF;font-size: 22px;line-height: 27.5px;">Hello World!</div>
尽管有动画和fadeInLeft类,但没有任何反应。每次滑块滑入时,文本都是静态的。有任何想法吗?