Bootstrap 4 Carousel Responsive Issue In Chrome
I have an issue with Bootstrap 4 carousel in Chrome only. Here is my code:
OK so I have been searching the web and there is a solution for this
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev{
display:block !important;
}
I have updated my fiddle here:
https://jsfiddle.net/benjamin_edwards/1gx43oph/
and I got the answers from here:
https://github.com/twbs/bootstrap/issues/21611
from my post here:
https://github.com/twbs/bootstrap/issues/21966
Hope this can help others :)
if you prefer a responsive carousel with fixed height you can use a div with background cover instead of the normal image like this :
.image {
width: 100%;
height: 650px;
background-position: center;
background-size: cover;
}
<divclass="image"style="background-image: url('my-image.jpg')"></div>
i found this solution here : bootstrap how to make a fixed height responsive?
Post a Comment for "Bootstrap 4 Carousel Responsive Issue In Chrome"