diff --git a/index.html b/index.html index c07924c0..919f28e1 100644 --- a/index.html +++ b/index.html @@ -708,7 +708,7 @@
Collapse 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 provided CSS, 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 className
via the data-target="className"
attribute, along with the traditional data-target="#collapse-id"
. The collapsible navbar in Bootstrap for instance works mostly via data-target=".bs-navbar-collapse"
attribute.
Collapse 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 provided CSS, 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 className
via the data-target=".className"
attribute, along with the traditional data-target="#collapseId"
. The collapsible navbar in Bootstrap for instance works mostly via data-target=".bs-navbar-collapse"
attribute.
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 collapse
class.