0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Clarify the purpose of CSS class .in to .fade

This commit is contained in:
Tommy Kelly 2015-09-28 16:59:21 -04:00
parent 215d4c19f7
commit 808fb03cf7

View File

@ -258,7 +258,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed)
### Fade effect ### Fade effect
To make tabs fade in, add `.fade` to each `.tab-pane`. The first tab pane must also have `.in` to properly fade in initial content. To make tabs fade in, add `.fade` to each `.tab-pane`. The first tab pane must also have `.in` to make the initial content visible.
{% highlight html %} {% highlight html %}
<div class="tab-content"> <div class="tab-content">