@extends('layouts.master') @section('title') @lang('translation.Carousel') @endsection @section('content')
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.
Adding in the previous and next controls:
You can also add the indicators to the carousel, alongside the controls, too.
Add captions to your slides easily with the .carousel-caption
element within any .carousel-item
.
Add .carousel-fade
to your carousel to animate slides with a
fade transition instead of a slide.