aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-11-08 18:15:29 -0800
committerMark Otto <[email protected]>2015-11-08 18:15:29 -0800
commitb2a4cf0517657fcd17a04630b7cacbaa5f4ffc96 (patch)
tree91735f01e80fad81697029f3100568e31990aa03 /docs/_includes
parentef8bc288902fc3e5f0b8b5745a3a30e0fab22f76 (diff)
parenta1eafb1e46e0c2b5d55c5cc4c77bd3b308e56e9a (diff)
downloadbootstrap-b2a4cf0517657fcd17a04630b7cacbaa5f4ffc96.tar.xz
bootstrap-b2a4cf0517657fcd17a04630b7cacbaa5f4ffc96.zip
Merge pull request #16965 from zacechola/document_icon_helpers
Call out `.icon-next`, `.icon-prev` alternative classes for Carousel
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/js/carousel.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html
index 02db93da2..63cc9e554 100644
--- a/docs/_includes/js/carousel.html
+++ b/docs/_includes/js/carousel.html
@@ -85,6 +85,11 @@
<p>The <code>.active</code> class needs to be added to one of the slides. Otherwise, the carousel will not be visible.</p>
</div>
+ <div class="bs-callout bs-callout-info" id="callout-carousel-without-glyphicons">
+ <h4>Glyphicon icons not necessary</h4>
+ <p>The <code>.glyphicon .glyphicon-chevron-left</code> and <code>.glyphicon .glyphicon-chevron-right</code> classes are not necessarily needed for the controls. Bootstrap provides <code>.icon-prev</code> and <code>.icon-next</code> as plain unicode alternatives.</p>
+ </div>
+
<h3>Optional captions</h3>
<p>Add captions to your slides easily with the <code>.carousel-caption</code> element within any <code>.item</code>. Place just about any optional HTML within there and it will be automatically aligned and formatted.</p>
<div class="bs-example" data-example-id="carousel-with-captions">