Article 10 BootStrap carousel plug-in usage details, Article 10 bootstrap
The Bootstrap carousel plug-in is a flexible and responsive way to add a slider to a site. In addition, the content is flexible enough, including images, embedded frames, videos, and any other types of content you want to place.
You can use the bootstrap carousel plug-in to add a slider to the site. The content can be images, embedded frameworks, videos, or any other content. To use the carousel plug-in, you need to introduce bootstrap. min. js.
Let's show you the implementation code. If you feel pretty good, please refer to the implementation code.
As follows:
The key code is as follows:
<Div id = "carousel-example-generic" class = "carousel slide" data-ride = "carousel"> <! -Carousel navigation --> <ol class = "carousel-indicators"> <li data-target = "# carousel-example-generic" data-slide-to = "0" class = "active"> </li> <li data-target = "# carousel-example-generic" data-slide-to = "1"> </li> <li data- target = "# carousel-example-generic" data-slide-to = "2"> </li> </ol> <! -Carousel project --> <div class = "carousel-inner" role = "listbox"> <div class = "item active"> <div class =" carousel-caption "> ffffffff </div> <div class =" item "> <div class =" carousel-caption "> xxxxxxxxxxxxxx </div> <div class =" item "> <div class =" carousel-caption "> mmmmmmmmmmmm </div> <! -Carousel navigation --> <a class = "left carousel-control" href = "# carousel-example-generic" role = "button" data-slide = "prev"> <span class = "glyphicon-chevron-left"> </span> <span class = "sr-only"> Previous </span> </a> <a class = "right carousel-control "href =" # carousel-example-generic "role =" button "data-slide =" next "> <span class =" glyphicon-chevron-right "> </span> <span class = "sr-only"> Next </span> </a> </div>
The above is a detailed description of the use of the BootStrap carousel plug-in Article 10. I hope it will be helpful to you. If you have any questions, please leave a message for me, the editor will reply to you in a timely manner. Thank you very much for your support for the help House website!