]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Adds callout for `.icon-next`, `.icon-prev` 16965/head
authorZac Echola <zac.echola@so.mnscu.edu>
Mon, 10 Aug 2015 19:32:47 +0000 (14:32 -0500)
committerZac Echola <zac.echola@so.mnscu.edu>
Mon, 10 Aug 2015 19:32:47 +0000 (14:32 -0500)
docs/_includes/js/carousel.html

index 02db93da2eb398c7a36167457d3afb8cbce164c4..63cc9e5543c2ce68a0d6cd40a03e0417d266a057 100644 (file)
     <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">