1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-25 04:12:55 +01:00

Merge pull request #17727 from tomkel/docs-fade-fix-v4

v4-dev - Clarify the purpose of CSS class .in to .fade
[skip sauce]
This commit is contained in:
Chris Rebert 2015-09-28 14:37:06 -07:00
commit 9f95b592ce

View File

@ -258,7 +258,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed)
### 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 %}
<div class="tab-content">