BootstrapComponents/Accordion

De Semantic MediaWiki - Sandbox

→ Back to Bootstrap Components overview

Description[modifier | modifier le wikicode]

An accordion can group a number of panels together in a way, that all except one are collapsed.

For available options to this component, please see the documentation on github.

Please also visit the github documentation when looking for help for the panel component.

Example[modifier | modifier le wikicode]

<bootstrap_accordion>
	<bootstrap_panel heading="Headline for Panel1">Text inside the panel</bootstrap_panel>
	<bootstrap_panel heading="Headline for Panel2" color="danger">Text inside the panel</bootstrap_panel>
	<bootstrap_panel heading="Headline for Panel3" active>Text inside the panel</bootstrap_panel>
	<bootstrap_panel heading="Headline for Panel4" color="info">Text inside the panel</bootstrap_panel>
</bootstrap_accordion>
Text inside the panel
Text inside the panel

Headline for Panel3

Text inside the panel
Text inside the panel
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.