Get started with bootstrap-horizon CDN

MIT licensed

Bootstrap Horizon: Lightweight, flexible, customizable horizontal carousel .

Tags:
  • bootstrap
  • horizontal
  • scroll
  • row

Stable version

Copied!

How to start using bootstrap-horizon CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with bootstrap-horizon CDN - cdnhub.io</title>
    <link href="https://cdn.cdnhub.io/bootstrap-horizon/1.0.1/bootstrap-horizon.min.css" rel="stylesheet">
</head>
<body>
    <div class="container-fluid p-0">
        <div id="carouselExampleIndicators" class="carousel slide carousel-fade carousel-horizon" data-mdb-ride="carousel">
            <div class="carousel-indicators">
                <button type="button" data-mdb-target="#carouselExampleIndicators" data-mdb-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
                <button type="button" data-mdb-target="#carouselExampleIndicators" data-mdb-slide-to="1" aria-label="Slide 2"></button>
                <button type="button" data-mdb-target="#carouselExampleIndicators" data-mdb-slide-to="2" aria-label="Slide 3"></button>
            </div>
            <div class="carousel-inner">
                <div class="carousel-item active">
                    <img src="img1.jpg" class="d-block w-100" alt="...">
                </div>
                <div class="carousel-item">
                    <img src="img2.jpg" class="d-block w-100" alt="...">
                </div>
                <div class="carousel-item">
                    <img src="img3.jpg" class="d-block w-100" alt="...">
                </div>
            </div>
            <button class="carousel-control-prev" type="button" data-mdb-target="#carouselExampleIndicators" data-mdb-slide="prev">
                <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                <span class="visually-hidden">Previous</span>
            </button>
            <button class="carousel-control-next" type="button" data-mdb-target="#carouselExampleIndicators" data-mdb-slide="next">
                <span class="carousel-control-next-icon" aria-hidden="true"></span>
                <span class="visually-hidden">Next</span>
            </button>
        </div>
    </div>
</body>
</html>

All versions