Introduction to Bootstrap carousel plug-in and bootstrap carousel plug-in

Source: Internet
Author: User
Tags bootstrap carousel

Introduction to Bootstrap carousel plug-in and bootstrap carousel plug-in

This article provides a detailed example of the Bootstrap carousel plug-in for your reference. The details are as follows:

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.

<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>

I recommend an article for you: Fully parse the Bootstrap image carousel effect.

If you want to learn more, click here to learn more and add a special topic: Bootstrap learning tutorial.

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.