aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-11-11 15:47:01 -0800
committerMark Otto <[email protected]>2014-11-11 15:47:01 -0800
commit2006a435d98b51a8d8430abe14ac3611113c2dff (patch)
tree1f0645dba53f51c5fc3cef240620c7f995c0ed92 /docs/_includes
parenta4497c8a831fc96e5e2fefb7cf1570d81d957296 (diff)
parent917decab6cc15c0178b1ebf9d30e4e3c0ef90c7f (diff)
downloadbootstrap-2006a435d98b51a8d8430abe14ac3611113c2dff.tar.xz
bootstrap-2006a435d98b51a8d8430abe14ac3611113c2dff.zip
Merge pull request #15077 from jayanthkoushik/issue-15076-fix
Fix Issue #15076.
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 9c13aa033..30bbf2ede 100644
--- a/docs/_includes/js/carousel.html
+++ b/docs/_includes/js/carousel.html
@@ -75,6 +75,11 @@
<p>Bootstrap exclusively uses CSS3 for its animations, but Internet Explorer 8 &amp; 9 don't support the necessary CSS properties. Thus, there are no slide transition animations when using these browsers. We have intentionally decided not to include jQuery-based fallbacks for the transitions.</p>
</div>
+ <div class="bs-callout bs-callout-warning" id="callout-carousel-active">
+ <h4>Initial active element required</h4>
+ <p>The <code>.active</code> class needs to be added to one of the slides. Otherwise, the carousel will not be visible.</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">