How to change the interval time on bootstrap carousel?

前端 未结 5 2215
情书的邮戳
情书的邮戳 2020-12-09 08:08

I have a bootstrap carousel on my web page, I\'m trying the increase the time interval between each slide. The default delay of 5000 milliseconds is too fast, I need about 1

5条回答
  •  执笔经年
    2020-12-09 08:34

    You can simply use the data-interval attribute of the carousel class.

    It's default value is set to data-interval="3000" i.e 3seconds.

    All you need to do is set it to your desired requirements.

提交回复
热议问题