mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
Docs - clarify purpose of CSS class .in to .fade
This commit is contained in:
parent
85bc0338d1
commit
e12547d1de
@ -81,7 +81,7 @@ $('#myTabs li:eq(2) a').tab('show') // Select third tab (0-indexed)
|
|||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h3>Fade effect</h3>
|
<h3>Fade effect</h3>
|
||||||
<p>To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>. The first tab pane must also have <code>.in</code> to properly fade in initial content.</p>
|
<p>To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>. The first tab pane must also have <code>.in</code> to make the initial content visible.</p>
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div role="tabpanel" class="tab-pane fade in active" id="home">...</div>
|
<div role="tabpanel" class="tab-pane fade in active" id="home">...</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user