Slides only
the presence of the .d-block
and
w-100
on carousel images to prevent browser default image alignment.
With controls
Adding in the previous and next controls:
With indicators
You can also add the indicators to the carousel, alongside the controls, too.
With captions
Add captions to your slides easily with the
.carousel-caption
element within any
.carousel-item
.
Individual
Add data-interval=""
to a
.carousel-item
to change the amount of time to delay between automatically cycling to the next item.
Disable touch swiping
This can be disabled using the
data-touch
attribute.