From c72cc98bd56fb50259c84a1fced38751009eb930 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 27 May 2017 23:01:14 -0700 Subject: update components docs --- docs/components/carousel.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'docs/components/carousel.md') diff --git a/docs/components/carousel.md b/docs/components/carousel.md index af00dc526..ae82eb08f 100644 --- a/docs/components/carousel.md +++ b/docs/components/carousel.md @@ -3,19 +3,17 @@ layout: docs title: Carousel description: A slideshow component for cycling through elements—images or slides of text—like a carousel. group: components +toc: true --- +## How it works + 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. In browsers where the [Page Visibility API](https://www.w3.org/TR/page-visibility/) 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.). Please be aware that nested carousels are not supported, and carousels are generally not compliant with accessibility standards. -## Contents - -* Will be replaced with the ToC, excluding the "Contents" header -{:toc} - ## Example Carousels don't automatically normalize slide dimensions. As such, you may need to use additional utilities or custom styles to appropriately size content. While carousels support previous/next controls and indicators, they're not explicitly required. Add and customize as you see fit. -- cgit v1.2.3