Bootstrap implements the carousel Image Effect Based on the javasusel. js framework, and bootstrap implements the carousel Image
The examples in this article share the code for displaying the Bootstrap carousel image effects for your reference. The details are as follows:
Several data-* attributes required for declarative triggering
1. data-ride: acts on the outermost container. fixed value: cancusel
2. data-target: this parameter is used on the li of each sub-element of class = carousel-indicators, and is used to mark that element for click carousel.
3. data-slide: it applies to the two a links on the previous and back pages. prev indicates the front pages and next indicates the back pages.
4. data-slide-to: indicates the subscript of the animation frame corresponding to the corresponding li element on each sub-element li of class = carousel-indicators, starting from 0.
5. data-interval: the waiting time for automatic Carousel of a slideshow. If it is set to false, automatic carousel is disabled. The default value is 5000 ms.
6. data-pause
7. data-wrap: Specifies whether continuous carousel is enabled.
Code Implementation of carousel images:
<! Doctype html>
The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.