-
Notifications
You must be signed in to change notification settings - Fork 8
/
Bootstrap v4 - (Carousel) Carousel - Indicators.json
16 lines (16 loc) · 2.52 KB
/
Bootstrap v4 - (Carousel) Carousel - Indicators.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"name": "Carousel - Indicators",
"heading": "carousel-indicators",
"description": "The carousel is a slideshow for cycling through a series of content, built with CSS 3D transforms and a bit of JavaScript. It works with a series of images, text, or custom markup. It also includes support for previous\/next controls and indicators.\r\n\r\nIn browsers where the Page Visibility API is supported, the carousel will avoid sliding when the webpage is not visible to the user (such as when the browser tab is inactive, the browser window is minimized, etc.).\r\n\r\nPlease be aware that nested carousels are not supported, and carousels are generally not compliant with accessibility standards.",
"usage": "You can also add the indicators to the carousel, alongside the controls, too.\r\n\r\n",
"snippet": "<div id=\"carouselExampleIndicators\" class=\"carousel slide\" data-ride=\"carousel\">\r\n <ol class=\"carousel-indicators\">\r\n <li data-target=\"#carouselExampleIndicators\" data-slide-to=\"0\" class=\"active\"><\/li>\r\n <li data-target=\"#carouselExampleIndicators\" data-slide-to=\"1\"><\/li>\r\n <li data-target=\"#carouselExampleIndicators\" data-slide-to=\"2\"><\/li>\r\n <\/ol>\r\n <div class=\"carousel-inner\">\r\n <div class=\"carousel-item active\">\r\n <img class=\"d-block w-100\" src=\"...\" alt=\"First slide\">\r\n <\/div>\r\n <div class=\"carousel-item\">\r\n <img class=\"d-block w-100\" src=\"...\" alt=\"Second slide\">\r\n <\/div>\r\n <div class=\"carousel-item\">\r\n <img class=\"d-block w-100\" src=\"...\" alt=\"Third slide\">\r\n <\/div>\r\n <\/div>\r\n <a class=\"carousel-control-prev\" href=\"#carouselExampleIndicators\" role=\"button\" data-slide=\"prev\">\r\n <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"><\/span>\r\n <span class=\"sr-only\">Previous<\/span>\r\n <\/a>\r\n <a class=\"carousel-control-next\" href=\"#carouselExampleIndicators\" role=\"button\" data-slide=\"next\">\r\n <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"><\/span>\r\n <span class=\"sr-only\">Next<\/span>\r\n <\/a>\r\n<\/div>",
"url": "https:\/\/getbootstrap.com\/docs\/4.0\/components\/carousel\/",
"type": "Carousel",
"library": "Bootstrap v4",
"created": "2017-11-01 00:00:00",
"modified": "2017-11-22 00:44:45",
"contributor_company": "Most Wanted Web Services, Inc.",
"contributor_name": "Steve Voorhees",
"contributor_email": "[email protected]",
"contributor_website": "https:\/\/mostwantedwebhosting.com"
}