mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
help avoid misuse of Carousel's .active when copy-pasting from examples; fix #13252
This commit is contained in:
parent
f9e98a1422
commit
640923eb36
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user