I am in search of a straightforward Bootstrap 4 carousel that showcases a glimpse of the next slide on the right. Despite exploring similar questions, I have not found a suitable solution. The links to those questions are:
1)Bootstrap carousel reveal part of next slide
2)Bootstrap carousel show only part of the slide
My attempt to create a separate div with the next image source ended in chaos. I prefer not to use other libraries like OWL carousel. Below is a basic bootstrap 4 carousel code with three image sliders.
<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="..." alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="..." alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="..." alt="Third slide">
</div>
</div>
</div>
My goal is to have a portion of the next carousel item displayed alongside the main carousel item.