02.06.2015 Views

Bootstrap Tutorial

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER<br />

43<br />

<strong>Bootstrap</strong> Collapse Plugin<br />

The collapse plugin makes it easy to make collapsing divisions of the page. Whether you use it to build<br />

accordion navigation or content boxes, it allows for a lot of content options.<br />

If you want to include this plugin functionality individually, then you will need collapse.js. This also requires<br />

the Transition Plugin to be included in your version of <strong>Bootstrap</strong>. Else, as mentioned in the chapter <strong>Bootstrap</strong><br />

Plugins Overview, you can include bootstrap.js or the minified bootstrap.min.js.<br />

You can use the collapse plugin:<br />

<br />

To create collapsible groups or accordion. This can be created as in the sample example below:<br />

<br />

<br />

<br />

<br />

<br />

Click me to exapand. Click me again to collapse.Section 1<br />

<br />

<br />

<br />

<br />

<br />

Nihil anim keffiyeh helvetica, craft beer labore wes anderson<br />

cred nesciunt sapiente ea proident. Ad vegan excepteur butcher<br />

vice lomo.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Click me to exapand. Click me again to collapse.Section 2<br />

<br />

<br />

<br />

<br />

TUTORIALS POINT<br />

Simply Easy Learning

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!