@@include("partials/title-meta.html", {"title": "Carousel"}) @@include('./partials/head-css.html') @@include("partials/body.html")
@@include('./partials/topbar.html', {"pagetitle": "Carousel"}) @@include('./partials/left-sidebar.html')

Slides only

Here’s a carousel with slides only. Note the presence of the .d-block and .img-fluid 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.

Crossfade

Add .carousel-fade to your carousel to animate slides with a fade transition instead of a slide.

Individual interval

Add data-bs-interval="" to a .carousel-item to change the amount of time to delay between automatically cycling to the next item.

@@include('./partials/footer.html')
@@include('./partials/right-sidebar.html') @@include('./partials/vendor.html')