CSS animations with Bootstrap carousel

Here is a sample of the code I’m working on: https://codepen.io/bmcdesign/pen/mdRwOBe

I’m using the Bootstrap carousel with animate.css (https://animate.style/) and some JavaScript code to have the animations activate on each slide.

I want the animated div to appear automatically in the middle of the screen, rather than appearing and then jumping to the center.

Any help would be greatly appreciated! Thanks! :slight_smile:

EDIT: I tried getting rid of fadeInUp and it still jumps on appearing

Remove the bounceIn from the data-animation attribute on each element.

<div class="carousel-caption" data-animation="animated bounceIn">

i.e.


`<div class="carousel-caption" data-animation="animated">`
1 Like

I was trying to animate the background as well. However, it looks good like this, so I’ll keep it. Thanks again! :slight_smile:

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.