mirror of
https://github.com/jasny/bootstrap.git
synced 2026-02-09 05:25:12 -05:00
follow up to #1702, add callout on component alignment in tabs/pills
This commit is contained in:
7
docs/templates/pages/components.mustache
vendored
7
docs/templates/pages/components.mustache
vendored
@@ -278,9 +278,10 @@
|
||||
<div class="span4">
|
||||
<h3>{{_i}}Powerful base class{{/i}}</h3>
|
||||
<p>{{_i}}All nav components here—tabs, pills, and lists—<strong>share the same base markup and styles</strong> through the <code>.nav</code> class.{{/i}}</p>
|
||||
<h3>{{_i}}Why tabs and pills{{/i}}</h3>
|
||||
<p>{{_i}}Tabs and pills in Bootstrap are built on a <code><ul></code> with the same core HTML, a list of links. Swap between tabs or pills with only a class.{{/i}}</p>
|
||||
<p>{{_i}}Both options are great for sub-sections of content or navigating between pages of related content.{{/i}}</p>
|
||||
<h3>{{_i}}When to use{{/i}}</h3>
|
||||
<p>{{_i}}Tabs and pills are great for sections of content or navigating between pages of related content.{{/i}}</p>
|
||||
<h3>{{_i}}Component alignment{{/i}}</h3>
|
||||
<p>{{_i}}To align nav links, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.{{/i}}</p>
|
||||
</div>
|
||||
<div class="span4">
|
||||
<h3>{{_i}}Basic tabs{{/i}}</h3>
|
||||
|
||||
Reference in New Issue
Block a user