O banner do meu site esta rodando bem em monitor de até 15 polegadas. De resoluções acima destas os banners ficam muito grandes e geram barra horizontal no site. Como na imagem a seguir: [![https://i.sstatic.net/gwK2Z.jpg][1]][1]
Segue o código
html:
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class=""></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2" class=""></li>
</ol>
<div class="carousel-inner slides">
<div class="carousel-item">
<img src="img/slider1.jpg" class="d-block w-100 slides" alt="...">
<div class="carousel-caption">
<h3>Criação de Sites</h3>
</div>
</div>
<div class="carousel-item active">
<img src="img/slider2.jpg" class="d-block w-100 slides" alt="...">
<div class="carousel-caption">
<h3>Design para Web</h3>
</div>
</div>
<div class="carousel-item">
<img src="img/slider3.jpg" class="d-block w-100 slides" alt="...">
<div class="carousel-caption">
<h3>Redes Sociais</h3>
</div>
</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">Anterior</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">Próximo</span>
</a>
</div>
css:
body {
overflow-x: hidden;
padding-top: 75px;
}
.slides {
width: 100vw;
}
#carouselExampleIndicators {
max-width: 100vw;
overflow-x: hidden;
}