"carousel fix img responsive"
Bootstrap 4.0.0 Snippet by brockmarek

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <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="https://unsplash.com/photos/7oS_26cb1Wo" alt="First slide"> </div> <div class="carousel-item"> <img class="d-block img-fluid" src="https://unsplash.com/photos/IE_sifhay7o" alt="Second slide"> </div> <div class="carousel-item"> <img class="d-block img-fluid" src="https://unsplash.com/photos/kk3W5-0b6e0" alt="Third slide"> </div> </div> </div>
.carousel-item.active, .carousel-item-next, .carousel-item-prev { display: block; }

Related: See More


Questions / Comments: