-
Notifications
You must be signed in to change notification settings - Fork 8
/
Bootstrap v4 - (Carousel) Carousel - With Controls.json
16 lines (16 loc) · 2.18 KB
/
Bootstrap v4 - (Carousel) Carousel - With Controls.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"name": "Carousel - With Controls",
"heading": "carousel slide",
"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": "With controls\r\nAdding in the previous and next controls",
"snippet": "<div id=\"carouselExampleControls\" class=\"carousel slide\" data-ride=\"carousel\">\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=\"#carouselExampleControls\" 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=\"#carouselExampleControls\" 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-14 01:29:16",
"contributor_company": "Most Wanted Web Services, Inc.",
"contributor_name": "Steve Voorhees",
"contributor_email": "[email protected]",
"contributor_website": "https:\/\/mostwantedwebhosting.com"
}