While working with a responsive Bootstrap carousel, I've encountered an issue where there is a 'scroll' on mobile devices. Can anyone provide some helpful suggestions on how to resolve this?
You can view the carousel in question at this link:
The slide images are configured as backgrounds, and the relevant CSS code is provided below:
.carousel-item {
height: 100vh;
min-height: 350px;
background: no-repeat center center scroll;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
It appears that the '100vh' height property is causing the issue. When reduced, a white border is visible at the bottom. Is there a way to make the carousel slides responsive without encountering the scrolling or white gap problem?