This is a plain yet elegant example of an Accordion with the items arranged in the ordered list. You can use this to show a large amount of information or data in an ordered manner. This can be seen in the pages where the content is broken in paragraphs, links, and images. You can create this using plain HTML with bootstrap and CSS styles. You can click on one of the panels and you would see the collapsible feature working on this accordion. This snippet uses the “Collapsible panel” one of the feature of bootstrap. You need to define the “panel-group” which is divided default-panel each having header, footer, and body. Check out the classes data-toggle assigned as “collapse”. This gives the collapsing functionality to the body of according once clicked on the header. The CSS styles the accordion along with the panel.
This is an example of Nested Accordion with verticle steps inside each accordion. Here the panel is created inside the panel to create a nested view. To create this nested view we have a super accordion defined as panel-group and then the panels containing the header and body for each accordion. Now each of these panel-body defines a new panel which would create a new group of the accordion. The data-toggle is set to collapse to give a collapsible behavior to each accordion. The innermost body contains some listed information; You would rarely see, but this could be useful in website for educational to display large content or on the sites which deals with different variety yet categories under one particular menu. You can use this on your website.
This is an elegant looking accordion, with HTML and CSS style. The HTML is simple with the container having panel-group with the heading, title body defined for accordion. The data-toggle and accordion-toggle define the behavior of the accordion once clicked on it. The collapse class indicates it has a collapsible behavior for each panel. The .in is added to the first panel for the collapsible class which indicates the data to be shown by default. The first panel is shown by default and is in the expandable state. An accordion is used to show the extra information or paragraph with images and links. You can use this styled accordion on your page. The styling and color combination would give and stylish look to your website.