You can add captions to slides with the.carousel-caption
element within any.carousel-item
. They can be immediately hidden on smaller viewports, as shown below, with optionaldisplay utilities. We hide them with.d-none
and draw them back on medium-sized devices with.d-md-block
.
Add.carousel-dark
to the.carousel
for darker controls, indicators, and captions. Controls have been inverted from their default white fill with thefilter
CSS property. Captions and controls have additional Sass variables that customize thecolor
andbackground-color
.