I am encountering an issue with my carousel animation.
I am aiming for a slide-out/slide-in effect similar to the Bootstrap website, but instead of sliding out, the old item simply disappears and the new item slides in.
I have included a GIF to illustrate the problem.
Has anyone faced a similar problem? Could it be a code error?
<div class="container-fluid b2 pt-5 pb-5">
<div class="row text-center">
<h1>
Why Choose Us
</h1>
</div>
<div class="row justify-content-center">
<div class="col-4 centeralign">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nobis aspernatur consequuntur maiores sapiente placeat quis dolorem repellendus.</p>
</div>
</div>
<div id="carouselExampleIndicators" class="carousel slide d-lg-none" data-ride="carousel" data-slide="true">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner pb-5 pt-5">
<div class="carousel-item active">
<div class="row justify-content-center">
<div class="col-6 padelcarousel">
<img src="/styles/iconcheck.png" height="75px" width="75px" alt="">
<h3>Intuitive interface</h2>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Ea ab hic nisi provident commodi eaque harum ut, distinctio cum. Aut quaerat eveniet asperiores unde dolor modi magni quod iste itaque?</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="row justify-content-center">
<div class="col-6 padelcarousel">
<img src="/styles/iconfile.png" height="75px" width="75px" alt="">
<h3>Performance tracking</h2>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Ea ab hic nisi provident commodi eaque harum ut, distinctio cum. Aut quaerat eveniet asperiores unde dolor modi magni quod iste itaque?</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="row justify-content-center">
<div class="col-6 padelcarousel">
<img src="/styles/iconpuzzle.png" height="75px" width="75px" alt="">
<h3>High quality content</h2>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Ea ab hic nisi provident commodi eaque harum ut, distinctio cum. Aut quaerat eveniet asperiores unde dolor modi magni quod iste itaque?</p>
</div>
</div>
</div>
</div>
</div>