How to Change Bootstrap Carousel Slide Speed?

2 months ago

The speed cannot be controlled by the API. Though you can modify CSS that is in charge of that. find in the bootstrap.css file:


and change 0.6s to the time you want. You also might want to edit time in the function call below:




at bootstrap.js in function Carousel.prototype.slide. That synchronize transition and prevent slide to disapear before transition ends.

Source: http://stackoverflow.com/questions/17332431/how-can-i-control-the-speed-that-bootstrap-carousel-slides-in-items/17332516#17332516