کاروسول سفارشی
<div class="container" style="max-width: 928px;"> <div class="row"> <div class="col-lg-12 col-md-12 mb-5 p-0"> <div id="style1" class="carousel slide style-custom-1" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#style1" data-slide-to="0" class="active"></li> <li data-target="#style1" data-slide-to="1"></li> <li data-target="#style1" data-slide-to="2"></li> </ol> <div class="carousel-inner"> <div class="carousel-item active"> <img class="d-block w-100 slide-image" src="assets/img/600x300.jpg" alt="First slide"> <div class="carousel-caption"> ................. </div> </div> <div class="carousel-item"> <img class="d-block w-100 slide-image" src="assets/img/600x300.jpg" alt="Second slide"> <div class="carousel-caption"> ................. </div> </div> <div class="carousel-item"> <img class="d-block w-100 slide-image" src="assets/img/600x300.jpg" alt="Third slide"> <div class="carousel-caption"> ................. </div> </div> </div> <a class="carousel-control-prev" href="#style1" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#style1" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">بعدی</span> </a> </div> </div> </div> </div>
فقط اسلایدها
<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="carousel-item active"> <img class="d-block w-100" src="assets/img/600x300.jpg" alt="First slide"> </div> <div class="carousel-item"> <img class="d-block w-100" src="assets/img/600x300.jpg" alt="Second slide"> </div> <div class="carousel-item"> <img class="d-block w-100" src="assets/img/600x300.jpg" alt="Third slide"> </div> </div> </div>
با کنترل
<div id="carouselExampleControls" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="carousel-item active"> <img class="d-block w-100" src="assets/img/600x300.jpg" alt="First slide"> </div> <div class="carousel-item"> <img class="d-block w-100" src="assets/img/600x300.jpg" alt="Second slide"> </div> <div class="carousel-item"> <img class="d-block w-100" src="assets/img/600x300.jpg" alt="Third slide"> </div> </div> <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">بعدی</span> </a> </div>
با نشانگرها
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active m"></li> <li data-target="#carouselExampleIndicators" data-slide-to="1"></li> <li data-target="#carouselExampleIndicators" data-slide-to="2"></li> </ol> <div class="carousel-inner"> <div class="carousel-item active"> <img class="d-block w-100" src="assets/img/600x300.jpg" alt="First slide"> </div> <div class="carousel-item"> <img class="d-block w-100" src="assets/img/600x300.jpg" alt="Second slide"> </div> <div class="carousel-item"> <img class="d-block w-100" src="assets/img/600x300.jpg" alt="Third slide"> </div> </div> <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">بعدی</span> </a> </div>
© کپی رایت
بومی سازی شده توسط : طراح سفید