Chankya
  • Introduction
  • Getting Started
  • Start Building
  • Layouts
  • Seed Project
  • Style Customisation
  • Third Party Modules
  • UI Elements
    • Buttons
    • Progress Bar
    • Tabs
    • Accordions
    • Pagination
    • Tooltip
    • Cards
    • Social Icons
    • Typography
    • Drop down
    • Alerts
    • Carousel
    • Date picker
    • Slider
  • Components
    • List
    • Grid
  • Contact Us
    • Hire Us
  • Changelog
Powered by GitBook
On this page

Was this helpful?

  1. UI Elements

Carousel

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.

<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel">
    <div class="carousel-inner" role="listbox">
        <div class="carousel-item active">
            <img class="d-block img-fluid" src="assets/img/carousel-slider-1.jpg" alt="First slide" width="1920" height="833">
        </div>
        <div class="carousel-item">
            <img class="d-block img-fluid" src="assets/img/carousel-slider-2.jpg" alt="Second slide" width="1920" height="833">
        </div>
        <div class="carousel-item">
            <img class="d-block img-fluid" src="assets/img/carousel-slider-3.jpg" alt="Third slide" width="1920" height="833">
        </div>
    </div>
</div>
PreviousAlertsNextDate picker

Last updated 6 years ago

Was this helpful?