1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 19:06:40 +02:00

help avoid misuse of Carousel's .active when copy-pasting from examples; fix #13252

This commit is contained in:
Chris Rebert
2014-04-01 13:03:14 -07:00
parent f9e98a1422
commit 640923eb36

View File

@@ -46,6 +46,12 @@
... ...
</div> </div>
</div> </div>
<div class="item">
<img src="..." alt="...">
<div class="carousel-caption">
...
</div>
</div>
... ...
</div> </div>
@@ -105,7 +111,7 @@
</div> </div>
</div><!-- /example --> </div><!-- /example -->
{% highlight html %} {% highlight html %}
<div class="item active"> <div class="item">
<img src="..." alt="..."> <img src="..." alt="...">
<div class="carousel-caption"> <div class="carousel-caption">
<h3>...</h3> <h3>...</h3>