1
I need to decrease slide transition time Bootstrapp
, how can I do while the files js
and css
are being pulled from the site?
<div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="http://www.esquadros.com.br/Img/Sitecomp/banner_lctl2_min.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="http://www.esquadros.com.br/Img/Sitecomp/banner_home_4_min.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="http://www.esquadros.com.br/Img/Sitecomp/perfiladeira-min-2.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="http://www.esquadros.com.br/Img/Sitecomp/banner-home-5.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="http://www.esquadros.com.br/Img/Sitecomp/banner_profil_min.jpg" class="d-block w-100" alt="...">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
<h1>Inovação e Tecnologia <br> no processamento de bobinas</h1>
<button type="button" class="botao-topo">Conheça nossa Empresa</button>
$('.carousel').carousel({
 interval: 2000
})
in Javascript tbm– Vinicius De Jesus
@Viniciusdejesus yes da para fazer direto pelo JS tb. I even edited my answer to demonstrate the example, because
data-interval="n"
vc sets up straight on the tag if I have more than one slider on the page facilitates etc– hugocsl
Thanks guys! It worked out.
– Renan Ranzani
@Renanranzani quiet young, how nice that it worked. If you think it is answered consider mark this icon
✔
below the arrows there next to the answer. So your question is not pending without accepted answer, even if it has already been solved. Abs– hugocsl
Done, thank you!
– Renan Ranzani