Bootstrap carousels
Use custom styles Bootstrap Carousels to showcase images
Default
Use Bootstrap Carousels to showcase cycling images:
<div id="Carousel1" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="../../assets/img/carousel/image-1.jpg" class="d-block w-100" alt="slide1">
</div>
<div class="carousel-item">
<img src="../../assets/img/carousel/image-2.jpg" class="d-block w-100" alt="slide2">
</div>
<div class="carousel-item">
<img src="../../assets/img/carousel/image-3.jpg" class="d-block w-100" alt="slide3">
</div>
</div>
</div>
Controls Pro
The following example also contains controls to navigate between the images:
<div id="Carousel2" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<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" 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">
<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" 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">
<div class="carousel-item overlay-dark active">
<img class="d-block w-100" src="../../assets/img/carousel/image-1.jpg" alt="First slide">
<div class="carousel-caption d-none d-md-block">
<h5>First Title</h5>
<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-dark">
<img class="d-block w-100" src="../../assets/img/carousel/image-2.jpg" alt="Second slide">
<div class="carousel-caption d-none d-md-block">
<h5>Second Title</h5>
<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-dark">
<img class="d-block w-100" src="../../assets/img/carousel/image-3.jpg" alt="Third slide">
<div class="carousel-caption d-none d-md-block">
<h5>Third Title</h5>
<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>