diff --git a/docs/javascript/carousel.md b/docs/javascript/carousel.md index ebe880ceca..ccc6c4759b 100644 --- a/docs/javascript/carousel.md +++ b/docs/javascript/carousel.md @@ -3,66 +3,28 @@ layout: page title: Carousel --- -
-

Carousel carousel.js

+## Example - -

The slideshow below shows a generic plugin and component for cycling through elements like a carousel.

-
- -
-{% highlight html %} +The slideshow below shows a generic plugin and component for cycling through elements like a carousel. + +{% example html %} -{% endhighlight %} +{% endexample %} - + -

Optional captions

-

Add captions to your slides easily with the .carousel-caption element within any .item. Place just about any optional HTML within there and it will be automatically aligned and formatted.

-
-