@extends('layouts.vertical', ['pageTitle' => 'Carousels']) @section('css') @endsection @section('page-title') @include('layouts.partials/app-pagetitle', ['pageTitle'=> 'Carousels', 'pageSubTitle1' => 'Visual Feedback', 'pageSubTitle2'=> 'UI Components', 'pageSubText' => 'Bootstrap carousels are slideshow components that cycle through images or content with controls, indicators, and optional autoplay.']) @endsection @section('content')
The carousel is a slideshow for cycling through a series of content, built with CSS 3D transforms and a bit of JavaScript. It works with a series of images, text, or custom markup. It also includes support for previous/next controls and indicators.
.active class needs to be added to one of the slides
otherwise
the carousel will not be visible. Also be sure to set a unique id on the
.carousel
for optional controls, especially if you're using multiple carousels on a single page.
Control
and indicator elements must have a data-target attribute (or href
for
links) that matches the id of the .carousel element.
.d-block and .w-100 on carousel images
.carousel-caption element within
any
.carousel-item. They can be easily hidden on smaller viewports, as shown below,
with optional display utilities. We hide them initially with
.d-none and bring them back on medium-sized devices with
.d-md-block