Bootstrap carousels
Use custom styles Bootstrap Carousels to showcase images
Controls Pro
The following example also contains controls to navigate between the images:
<div id="Carousel2" class="carousel slide shadow-soft border border-light p-4 rounded" data-ride="carousel">
<div class="carousel-inner rounded">
<div class="carousel-item active">
<img class="d-block w-100" src="../../assets/img/carousel/image-1.jpg" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../../assets/img/carousel/image-2.jpg" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../../assets/img/carousel/image-3.jpg" alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#Carousel2" 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="#Carousel2" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
Indicators Pro
The following example also contains indicators and controls to navigate between the images:
<div id="Carousel3" class="carousel slide shadow-soft border border-light p-4 rounded" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#Carousel3" data-slide-to="0" class="active"></li>
<li data-target="#Carousel3" data-slide-to="1"></li>
<li data-target="#Carousel3" data-slide-to="2"></li>
</ol>
<div class="carousel-inner rounded">
<div class="carousel-item active">
<img class="d-block w-100" src="../../assets/img/carousel/image-1.jpg" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../../assets/img/carousel/image-2.jpg" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../../assets/img/carousel/image-3.jpg" alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#Carousel3" 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="#Carousel3" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
Captions Pro
The following example also contains captions describing the images:
<div id="Carousel4" class="carousel slide shadow-soft border border-light p-4 rounded" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#Carousel4" data-slide-to="0" class="active"></li>
<li data-target="#Carousel4" data-slide-to="1"></li>
<li data-target="#Carousel4" data-slide-to="2"></li>
</ol>
<div class="carousel-inner rounded">
<div class="carousel-item overlay-primary active">
<img class="d-block w-100" src="../../assets/img/carousel/image-2.jpg" alt="First slide">
<div class="carousel-caption d-none d-md-block text-dark">
<h3 class="h5">First Title</h3>
<p>Start your development with a Pixel Design System for Bootstrap 4. It is creative and it features many components that can help you create amazing websites.
</p>
</div>
</div>
<div class="carousel-item overlay-primary">
<img class="d-block w-100" src="../../assets/img/carousel/image-3.jpg" alt="Second slide">
<div class="carousel-caption d-none d-md-block text-dark">
<h3 class="h5">Second Title</h3>
<p>Start your development with a Pixel Design System for Bootstrap 4. It is creative and it features many components that can help you create amazing websites.
</p>
</div>
</div>
<div class="carousel-item overlay-primary">
<img class="d-block w-100" src="../../assets/img/carousel/image-1.jpg" alt="Third slide">
<div class="carousel-caption d-none d-md-block text-dark">
<h3 class="h5">Third Title</h3>
<p>Start your development with a Pixel Design System for Bootstrap 4. It is creative and it features many components that can help you create amazing websites.
</p>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#Carousel4" 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="#Carousel4" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>