Tabs
Takes the basic nav and adds the .tabs-nav
class to generate a tabbed interface. Use them to create tabbable regions.
Display Unsafe Content
Display Unsafe Content needs to enabled for this format to show up. See this Zendesk article for detail.
Example Tab
<div class="tabs">
<div class="tabs-nav">
<a class="tabs-link" data-target="#test1" data-toggle="tab">Test1</a>
<a class="tabs-link" data-target="#test2" data-toggle="tab">Test2</a>
<a class="tabs-link" data-target="#test3" data-toggle="tab">Test3</a>
</div>
<div class="tabs-content">
<div id="test1">...</div>
<div id="test2">...</div>
<div id="test3">...</div>
</div>
</div>
Tab with active tabs color
<div class="tabs colored-1">
<div class="tabs-nav">
<a class="tabs-link" data-target="#test1" data-toggle="tab">Test1</a>
<a class="tabs-link" data-target="#test2" data-toggle="tab">Test2</a>
<a class="tabs-link" data-target="#test3" data-toggle="tab">Test3</a>
</div>
<div class="tabs-content">
<div id="test1">...</div>
<div id="test2">...</div>
<div id="test3">...</div>
</div>
</div>
Tab with active tabs color and background color
<div class="tabs colored-2">
<div class="tabs-nav">
<a class="tabs-link" data-target="#test1" data-toggle="tab">Test1</a>
<a class="tabs-link" data-target="#test2" data-toggle="tab">Test2</a>
<a class="tabs-link" data-target="#test3" data-toggle="tab">Test3</a>
</div>
<div class="tabs-content">
<div id="test1">...</div>
<div id="test2">...</div>
<div id="test3">...</div>
</div>
</div>
note
Provide contextual feedback messages for typical user actions with the handful of available and flexible messages.
This is default note
A simple note—check it out!
<div class="note">
<p class="note-title">This is default note</p>
<p>...</p>
</div>
This is dashed note
A simple dashed note—check it out!
<div class="note note-dashed">
<p class="note-title">This is dashed note</p>
<p>...</p>
</div>
This is transparent note
A simple transparent note—check it out!
<div class="note note-transparent">
<p class="note-title">This is transparent note</p>
<p>...</p>
</div>
This is info note
A simple infonote—check it out!
<div class="note note-info">
<p class="note-title">This is info note</p>
<p>...</p>
</div>
This is success note
A simple success note—check it out!
<div class="note note-success">
<p class="note-title">This is success note</p>
<p>...</p>
</div>
This is warning note
A simple warning note—check it out!
<div class="note note-warning">
<p class="note-title">This is warning note</p>
<p>...</p>
</div>
This is alert note
A simple alert note—check it out!
<div class="note note-alert">
<p class="note-title">This is alert note</p>
<p>...</p>
</div>
Accordion
Build vertically collapsing accordions in combination.
Display Unsafe Content
Display Unsafe Content needs to enabled for this format to show up. See this Zendesk article for detail.
Example Accordion
This is the first item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-panel
, though the transition does limit overflow.
This is the second item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-panel
, though the transition does limit overflow.
This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-panel
, though the transition does limit overflow.
<div class="accordion">This is accordion 1</div>
<div class="accordion-panel">
<p>...</p>
</div>
<div class="accordion">This is accordion 2</div>
<div class="accordion-panel">
<p>...</p>
</div>
<div class="accordion">This is accordion 3</div>
<div class="accordion-panel">
<p>...</p>
</div>
Comments
0 comments
Article is closed for comments.