You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bootstrap.css
+48-11
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
* http://www.apache.org/licenses/LICENSE-2.0
7
7
*
8
8
* Designed and built with all the love in the world @twitter by @mdo and @fat.
9
-
* Date: Tue Oct 11 21:49:21 PDT 2011
9
+
* Date: Tue Oct 11 23:12:13 PDT 2011
10
10
*/
11
11
/* Reset.less
12
12
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
Copy file name to clipboardExpand all lines: docs/index.html
+131-18
Original file line number
Diff line number
Diff line change
@@ -1448,6 +1448,7 @@ <h2>Tabs and pills</h2>
1448
1448
</div>
1449
1449
<divclass="span12">
1450
1450
<h3>Basic tabs example</h3>
1451
+
<p>Tabs can be used as regular navigation (loading external pages in the same tab) or as tabbable content areas for swapping out panes of content. We have a <ahref="./javascript.html#tabs">tabs plugin</a> that can be used to integrate the latter.</p>
<p>You can also use tabs that are stacked on either side of an element, or on the bottom.</p>
1478
-
<ulclass="tabs tabs-left">
1479
-
<liclass="active"><ahref="#">Active link</a></li>
1480
-
<li><ahref="#">Link</a></li>
1481
-
<li><ahref="#">Linky link</a></li>
1482
-
<li><ahref="#">What up link</a></li>
1483
-
</ul>
1484
-
<ulclass="tabs tabs-right">
1485
-
<liclass="active"><ahref="#">Active link</a></li>
1486
-
<li><ahref="#">Link</a></li>
1487
-
<li><ahref="#">Linky link</a></li>
1488
-
<li><ahref="#">What up link</a></li>
1489
-
</ul>
1490
-
<ulclass="tabs tabs-bottom">
1491
-
<liclass="active"><ahref="#">Active link</a></li>
1492
-
<li><ahref="#">Link</a></li>
1493
-
<li><ahref="#">Linky link</a></li>
1494
-
<li><ahref="#">What up link</a></li>
1495
-
</ul>
1479
+
<divclass="row">
1480
+
<divclass="span3">
1481
+
<divclass="clearfix">
1482
+
<ulclass="tabs tabs-left">
1483
+
<liclass="active"><ahref="#">Active link</a></li>
1484
+
<li><ahref="#">Link</a></li>
1485
+
<li><ahref="#">Linky link</a></li>
1486
+
<li><ahref="#">What up link</a></li>
1487
+
</ul>
1488
+
</div>
1489
+
</div>
1490
+
<divclass="span3">
1491
+
<divclass="clearfix">
1492
+
<ulclass="tabs tabs-right">
1493
+
<liclass="active"><ahref="#">Active link</a></li>
1494
+
<li><ahref="#">Link</a></li>
1495
+
<li><ahref="#">Linky link</a></li>
1496
+
<li><ahref="#">What up link</a></li>
1497
+
</ul>
1498
+
</div>
1499
+
</div>
1500
+
<divclass="span6">
1501
+
<divclass="clearfix">
1502
+
<ulclass="tabs tabs-bottom">
1503
+
<liclass="active"><ahref="#">Active link</a></li>
1504
+
<li><ahref="#">Link</a></li>
1505
+
<li><ahref="#">Linky link</a></li>
1506
+
</ul>
1507
+
</div>
1508
+
</div>
1509
+
</div>
1510
+
<h3>Tabbable tabs</h3>
1511
+
<p>As mentioned above, you can bring your tabs to life with a simple plugin. Here we have integrated all four variations of the tabs—default (top), right, bottom, left—with example tab areas.</p>
1512
+
1513
+
<divclass="tabbable">
1514
+
<ulclass="tabs" data-tabs="tabs">
1515
+
<liclass="active"><ahref="#1">Section 1</a></li>
1516
+
<li><ahref="#2">Section 2</a></li>
1517
+
<li><ahref="#3">Section 3</a></li>
1518
+
<li><ahref="#4">Section 4</a></li>
1519
+
</ul>
1520
+
<divclass="tab-content">
1521
+
<divclass="tab-pane active" id="1">
1522
+
<p>Oh hai #1!</p>
1523
+
</div>
1524
+
<divclass="tab-pane" id="2">
1525
+
<p>Oh hai #2!</p>
1526
+
</div>
1527
+
<divclass="tab-pane" id="3">
1528
+
<p>Oh hai #3!</p>
1529
+
</div>
1530
+
<divclass="tab-pane" id="4">
1531
+
<p>Oh hai #4!</p>
1532
+
</div>
1533
+
</div>
1534
+
</div>
1535
+
1536
+
<divclass="row">
1537
+
<divclass="span6">
1538
+
<divclass="tabbable tabs-left">
1539
+
<ulclass="tabs" data-tabs="tabs">
1540
+
<liclass="active"><ahref="#1">Section 1</a></li>
1541
+
<li><ahref="#2">Section 2</a></li>
1542
+
<li><ahref="#3">Section 3</a></li>
1543
+
</ul>
1544
+
<divclass="tab-content" id="myTabContent2">
1545
+
<divclass="tab-pane active" id="1">
1546
+
<h4>Section 1</h4>
1547
+
<p>Oh hai!</p>
1548
+
</div>
1549
+
<divclass="tab-pane" id="2">
1550
+
<h4>Section 2</h4>
1551
+
<p>Oh hai!</p>
1552
+
</div>
1553
+
<divclass="tab-pane" id="3">
1554
+
<h4>Section 3</h4>
1555
+
<p>Oh hai!</p>
1556
+
</div>
1557
+
</div>
1558
+
</div>
1559
+
</div>
1560
+
<divclass="span6">
1561
+
<divclass="tabbable tabs-right">
1562
+
<ulclass="tabs" data-tabs="tabs">
1563
+
<liclass="active"><ahref="#1">Section 1</a></li>
1564
+
<li><ahref="#2">Section 2</a></li>
1565
+
<li><ahref="#3">Section 3</a></li>
1566
+
</ul>
1567
+
<divclass="tab-content" id="myTabContent3">
1568
+
<divclass="tab-pane active" id="1">
1569
+
<h4>Section 1</h4>
1570
+
<p>Oh hai!</p>
1571
+
</div>
1572
+
<divclass="tab-pane" id="2">
1573
+
<h4>Section 2</h4>
1574
+
<p>Oh hai!</p>
1575
+
</div>
1576
+
<divclass="tab-pane" id="3">
1577
+
<h4>Section 3</h4>
1578
+
<p>Oh hai!</p>
1579
+
</div>
1580
+
</div>
1581
+
</div>
1582
+
</div>
1583
+
</div>
1584
+
1585
+
<divclass="tabbable tabs-bottom">
1586
+
<divclass="tab-content">
1587
+
<divclass="tab-pane active" id="1">
1588
+
<p>Oh hai #1!</p>
1589
+
</div>
1590
+
<divclass="tab-pane" id="2">
1591
+
<p>Oh hai #2!</p>
1592
+
</div>
1593
+
<divclass="tab-pane" id="3">
1594
+
<p>Oh hai #3!</p>
1595
+
</div>
1596
+
<divclass="tab-pane" id="4">
1597
+
<p>Oh hai #4!</p>
1598
+
</div>
1599
+
</div>
1600
+
<ulclass="tabs" data-tabs="tabs">
1601
+
<liclass="active"><ahref="#1">Section 1</a></li>
1602
+
<li><ahref="#2">Section 2</a></li>
1603
+
<li><ahref="#3">Section 3</a></li>
1604
+
<li><ahref="#4">Section 4</a></li>
1605
+
</ul>
1606
+
</div>
1607
+
1608
+
1496
1609
<p>In addition to tabs, we have pills! Though a bit more limited in functionality, they share much of the same markup.</p>
0 commit comments