<div class="row justify-content-center text-center pb-5">
    <div class="col-9">
        <h2>Carousel</h2>
        <p>A slideshow component for cycling through elements—images or slides of text like a carousel.</p>
    </div>
</div>

<div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
    <ol class="carousel-indicators">
        <li data-target="#carouselExampleControls" data-slide-to="0" class="active"></li>
        <li data-target="#carouselExampleControls" data-slide-to="1"></li>
        <li data-target="#carouselExampleControls" data-slide-to="2"></li>
    </ol>
    <div class="carousel-inner">
        <div class="carousel-item active">
            <img class="d-block w-100" src="images/sampleimages/slide-img1.jpg" alt="First slide">
        </div>
        <div class="carousel-item">
            <img class="d-block w-100" src="images/sampleimages/slide-img2.jpg" alt="Second slide">
        </div>
        <div class="carousel-item">
            <img class="d-block w-100" src="images/sampleimages/slide-img3.jpg" alt="Third slide">
        </div>
    </div>
    <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
        <span class="carousel-control-prev-icon" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
    </a>
    <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
        <span class="carousel-control-next-icon" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
    </a>
</div>

<hr class="my-5">
<div class="row justify-content-center text-center pb-5">
    <div class="col-9">
        <h3>With captions</h3>
        <p>Add captions to your slides easily with the <code class="highlighter-rouge">.carousel-caption</code> element within any <code class="highlighter-rouge">.carousel-item</code>. They can be easily
            hidden on smaller viewports, as shown below, with optional display utilities. We hide them initially with <code class="highlighter-rouge">.d-none</code>
            and bring them back on medium-sized devices with <code class="highlighter-rouge">.d-md-block</code>.</p>
    </div>
</div>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
    <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">
        <div class="carousel-item active">
            <img class="d-block w-100" src="images/sampleimages/slide-img1.jpg" alt="First slide">
            <div class="carousel-caption d-none d-md-block">
                <h5 class="text-white">Dummy Title Here</h5>
                <p>Instantly make your website pop with vector icons and</p>
            </div>
        </div>
        <div class="carousel-item">
            <img class="d-block w-100" src="images/sampleimages/slide-img2.jpg" alt="Second slide">
            <div class="carousel-caption d-none d-md-block">
                <h5 class="text-white">Dummy Title Here</h5>
                <p>Instantly make your website pop with vector icons and</p>
            </div>
        </div>
        <div class="carousel-item">
            <img class="d-block w-100" src="images/sampleimages/slide-img3.jpg" alt="Third slide">
            <div class="carousel-caption d-none d-md-block">
                <h5 class="text-white">Dummy Title Here</h5>
                <p>Instantly make your website pop with vector icons and</p>
            </div>
        </div>
    </div>
    <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
        <span class="carousel-control-prev-icon" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
    </a>
    <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
        <span class="carousel-control-next-icon" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
    </a>
</div>

<hr class="my-5">
<div class="row justify-content-center text-center pb-5">
    <div class="col-9">
        <h3>Crossfade</h3>
        <p>Add <code class="highlighter-rouge">.carousel-fade</code> to your carousel to animate slides with a fade transition instead of a slide.</p>
    </div>
</div>
<div id="carouselExampleFade" class="carousel slide carousel-fade" data-ride="carousel">
    <ol class="carousel-indicators">
        <li data-target="#carouselExampleFade" data-slide-to="0" class="active"></li>
        <li data-target="#carouselExampleFade" data-slide-to="1"></li>
        <li data-target="#carouselExampleFade" data-slide-to="2"></li>
    </ol>
    <div class="carousel-inner">
        <div class="carousel-item active">
            <img class="d-block w-100" src="images/sampleimages/slide-img1.jpg" alt="First slide">
            <div class="carousel-caption d-none d-md-block">
                <h5 class="text-white">Dummy Title Here</h5>
                <p>Instantly make your website pop with vector icons and</p>
            </div>
        </div>
        <div class="carousel-item">
            <img class="d-block w-100" src="images/sampleimages/slide-img2.jpg" alt="Second slide">
            <div class="carousel-caption d-none d-md-block">
                <h5 class="text-white">Dummy Title Here</h5>
                <p>Instantly make your website pop with vector icons and</p>
            </div>
        </div>
        <div class="carousel-item">
            <img class="d-block w-100" src="images/sampleimages/slide-img3.jpg" alt="Third slide">
            <div class="carousel-caption d-none d-md-block">
                <h5 class="text-white">Dummy Title Here</h5>
                <p>Instantly make your website pop with vector icons and</p>
            </div>
        </div>
    </div>
    <a class="carousel-control-prev" href="#carouselExampleFade" role="button" data-slide="prev">
        <span class="carousel-control-prev-icon" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
    </a>
    <a class="carousel-control-next" href="#carouselExampleFade" role="button" data-slide="next">
        <span class="carousel-control-next-icon" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
    </a>
</div>