Nested carousels are not supported.
Basic Example
Optional captions
Carousel Options
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-
,
as in data-interval=""
.
Interval Option
The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.
Pause Option
If set to "hover"
, pauses the cycling of the carousel on mouseenter
and
resumes the cycling of the carousel on mouseleave
. If set to null
, hovering
over the carousel won't pause it.
Wrap Option
Whether the carousel should cycle continuously or have hard stops. Default: true
Crossfade
Add .carousel-fade
to your carousel to animate slides with a fade transition instead of a
slide.