Preloader

Loading...

Carousel

A slideshow component for cycling through elements—images or slides of text—like a carousel.


Carousel image with captions
                
<div id="carouselExampleCaptions" class="carousel slide">
    <div class="carousel-inner">
        <div class="carousel-item active">
            <img src="assets/imgs/other/card.png" class="card-img-top" alt="infinia" />
            <div class="carousel-caption d-none d-md-block bg-white rounded-3">
                <h5>First slide label</h5>
                <p>Some representative placeholder content for the first slide.</p>
            </div>
        </div>
        <div class="carousel-item">
            <img src="assets/imgs/other/card-2.png" class="card-img-top" alt="infinia" />
            <div class="carousel-caption d-none d-md-block bg-white rounded-3">
                <h5>Second slide label</h5>
                <p>Some representative placeholder content for the second slide.</p>
            </div>
        </div>
        <div class="carousel-item">
            <img src="assets/imgs/other/card-3.png" class="card-img-top" alt="infinia" />
            <div class="carousel-caption d-none d-md-block bg-white rounded-3">
                <h5>Third slide label</h5>
                <p>Some representative placeholder content for the third slide.</p>
            </div>
        </div>
        <div class="carousel-item">
            <img src="assets/imgs/other/card-4.png" class="card-img-top" alt="infinia" />
            <div class="carousel-caption d-none d-md-block bg-white rounded-3">
                <h5>Third slide label</h5>
                <p>Some representative placeholder content for the third slide.</p>
            </div>
        </div>
    </div>
    <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="prev">
        <span class="carousel-control-prev-icon" aria-hidden="true"></span>
        <span class="visually-hidden">Previous</span>
    </button>
    <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="next">
        <span class="carousel-control-next-icon" aria-hidden="true"></span>
        <span class="visually-hidden">Next</span>
    </button>
</div>