Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
thednp committed May 16, 2015
1 parent b93b058 commit 5afefba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ <h4>Additional Notes</h4>

<section id="exampleCollapse">
<h3>Collapse</h3>
<p><b>Collapse</b> is a great way to toggle content, and it's also used for collapsible navbar. It's not animating on modern browsers unless you use the <a href="#required_css">provided CSS</a>, and legacy browsers don't support transitions. Unlike other scripts, this is the only component that can be targeted by it's toggle links by it's <code>className</code> via the <code>data-target="className"</code> attribute, along with the traditional <code>data-target="#collapse-id"</code>. The collapsible navbar in Bootstrap for instance works mostly via <code>data-target=".bs-navbar-collapse"</code> attribute.</p>
<p><b>Collapse</b> is a great way to toggle content, and it's also used for collapsible navbar. It's not animating on modern browsers unless you use the <a href="#required_css">provided CSS</a>, and legacy browsers don't support transitions. Unlike other scripts, this is the only component that can be targeted by it's toggle links by it's <code>className</code> via the <code>data-target=".className"</code> attribute, along with the traditional <code>data-target="#collapseId"</code>. The collapsible navbar in Bootstrap for instance works mostly via <code>data-target=".bs-navbar-collapse"</code> attribute.</p>
<p>Collapse requires proper wrapping of contents, similar to wells, accordion and responsive navbar examples. With other words, you cannot toggle a bunch of paragraphs at once unless you wrap them into a container and give it a unique ID and a <code>collapse</code> class.</p>
<h4>Options</h4>
<ul>
Expand Down

0 comments on commit 5afefba

Please sign in to comment.