aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-05-06 11:34:46 -0700
committerChris Rebert <[email protected]>2014-05-06 11:34:46 -0700
commitd36c150569c982a24935bfc90e77e7a59986497b (patch)
tree46a19df9950944dfe0dc3e0b15b5db9b2e4669a2 /docs/_includes/js
parent06fae12023293ea495c7c0e5f21dc9fa8cc86b44 (diff)
downloadbootstrap-d36c150569c982a24935bfc90e77e7a59986497b.tar.xz
bootstrap-d36c150569c982a24935bfc90e77e7a59986497b.zip
tweak formatting in Carousel docs for clarity; fixes #13522
Diffstat (limited to 'docs/_includes/js')
-rw-r--r--docs/_includes/js/carousel.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html
index 2b5b0111b..fa7476b68 100644
--- a/docs/_includes/js/carousel.html
+++ b/docs/_includes/js/carousel.html
@@ -128,7 +128,7 @@
<h2 id="carousel-usage">Usage</h2>
<h3>Multiple carousels</h3>
- <p>Carousels require the use of an <code>id</code> on the outermost container, <code>.carousel</code>, for carousel controls to function properly. When adding multiple carousels, or when changing a carousel's <code>id</code>, be sure to update the relevant controls.</p>
+ <p>Carousels require the use of an <code>id</code> on the outermost container (the <code>.carousel</code>) for carousel controls to function properly. When adding multiple carousels, or when changing a carousel's <code>id</code>, be sure to update the relevant controls.</p>
<h3>Via data attributes</h3>
<p>Use data attributes to easily control the position of the carousel. <code>data-slide</code> accepts the keywords <code>prev</code> or <code>next</code>, which alters the slide position relative to its current position. Alternatively, use <code>data-slide-to</code> to pass a raw slide index to the carousel <code>data-slide-to="2"</code>, which shifts the slide position to a particular index beginning with <code>0</code>.</p>