Accordions
These modular elements can be readily used and customized across pages and in different blocks.
Explore all of Stack's modular elements
at the Element Index Page →
Button Style — Multiple Open
The default behaviour for the accordion is to allow users to open multiple panes by clicking on the title. Panes are closed by clicking again on the title.
<ul class="accordion accordion-1"> <li class="active"> <div class="accordion__title"> <span class="h5">Panel One</span> </div> <div class="accordion__content"> Content </div> </li> <li> <div class="accordion__title"> <span class="h5">Panel Two</span> </div> <div class="accordion__content"> Content </div> </li></ul>
-
Code Quality
Stack follows the BEM naming convention that focusses on logical code readability that is reflected in both the HTML and CSS. Interactive elements such as accordions and tabs follow the same markup patterns making rapid development easier for developers and beginners alike.
Add to this the thoughtfully presented documentation, featuring code highlighting, snippets, class customizer explanation and you've got yourself one powerful value package.
-
Visual Design
Stack offers a clean and contemporary to suit a range of purposes from corporate, tech startup, marketing site to digital storefront. Elements have been designed to showcase content in a diverse yet consistent manner.
Multiple font and colour scheme options mean that dramatically altering the look of your site is just clicks away — Customizing your site in the included Variant Page Builder makes experimenting with styles and content arrangements dead simple.
-
Stack Experience
Medium Rare is an elite author known for offering high-quality, high-value products backed by timely and personable support. Recognised and awarded by Envato on multiple occasions for producing consistently outstanding products, it's no wonder over 20,000 customers enjoy using Medium Rare templates.
Minimal Style — Multiple Open
The default behaviour for the accordion is to allow users to open multiple panes by clicking on the title. Panes are closed by clicking again on the title.
<ul class="accordion accordion-1"> <li class="active"> <div class="accordion__title"> <span class="h5">Panel One</span> </div> <div class="accordion__content"> Content </div> </li> <li> <div class="accordion__title"> <span class="h5">Panel Two</span> </div> <div class="accordion__content"> Content </div> </li></ul>
-
Code Quality
Stack follows the BEM naming convention that focusses on logical code readability that is reflected in both the HTML and CSS. Interactive elements such as accordions and tabs follow the same markup patterns making rapid development easier for developers and beginners alike.
Add to this the thoughtfully presented documentation, featuring code highlighting, snippets, class customizer explanation and you've got yourself one powerful value package.
-
Visual Design
Stack offers a clean and contemporary to suit a range of purposes from corporate, tech startup, marketing site to digital storefront. Elements have been designed to showcase content in a diverse yet consistent manner.
Multiple font and colour scheme options mean that dramatically altering the look of your site is just clicks away — Customizing your site in the included Variant Page Builder makes experimenting with styles and content arrangements dead simple.
-
Stack Experience
Medium Rare is an elite author known for offering high-quality, high-value products backed by timely and personable support. Recognised and awarded by Envato on multiple occasions for producing consistently outstanding products, it's no wonder over 20,000 customers enjoy using Medium Rare templates.
Button Style — One Open
Allows only one panel to remain active at any time. Clicking a new panel automatically closes the previously active panel. This is achieved using the .accordion--one-openclass.
<ul class="accordion accordion-1 accordion--oneopen"> <li class="active"> <div class="accordion__title"> <span class="h5">Panel One</span> </div> <div class="accordion__content"> Content </div> </li> <li> <div class="accordion__title"> <span class="h5">Panel Two</span> </div> <div class="accordion__content"> Content </div> </li></ul>
-
Code Quality
Stack follows the BEM naming convention that focusses on logical code readability that is reflected in both the HTML and CSS. Interactive elements such as accordions and tabs follow the same markup patterns making rapid development easier for developers and beginners alike.
Add to this the thoughtfully presented documentation, featuring code highlighting, snippets, class customizer explanation and you've got yourself one powerful value package.
-
Visual Design
Stack offers a clean and contemporary to suit a range of purposes from corporate, tech startup, marketing site to digital storefront. Elements have been designed to showcase content in a diverse yet consistent manner.
Multiple font and colour scheme options mean that dramatically altering the look of your site is just clicks away — Customizing your site in the included Variant Page Builder makes experimenting with styles and content arrangements dead simple.
-
Stack Experience
Medium Rare is an elite author known for offering high-quality, high-value products backed by timely and personable support. Recognised and awarded by Envato on multiple occasions for producing consistently outstanding products, it's no wonder over 20,000 customers enjoy using Medium Rare templates.
Minimal Style — One Open
Allows only one panel to remain active at any time. Clicking a new panel automatically closes the previously active panel. This is achieved using the .accordion--one-openclass.
<ul class="accordion accordion-2 accordion--oneopen"> <li class="active"> <div class="accordion__title"> <span class="h5">Panel One</span> </div> <div class="accordion__content"> Content </div> </li> <li> <div class="accordion__title"> <span class="h5">Panel Two</span> </div> <div class="accordion__content"> Content </div> </li></ul>
-
Code Quality
Stack follows the BEM naming convention that focusses on logical code readability that is reflected in both the HTML and CSS. Interactive elements such as accordions and tabs follow the same markup patterns making rapid development easier for developers and beginners alike.
Add to this the thoughtfully presented documentation, featuring code highlighting, snippets, class customizer explanation and you've got yourself one powerful value package.
-
Visual Design
Stack offers a clean and contemporary to suit a range of purposes from corporate, tech startup, marketing site to digital storefront. Elements have been designed to showcase content in a diverse yet consistent manner.
Multiple font and colour scheme options mean that dramatically altering the look of your site is just clicks away — Customizing your site in the included Variant Page Builder makes experimenting with styles and content arrangements dead simple.
-
Stack Experience
Medium Rare is an elite author known for offering high-quality, high-value products backed by timely and personable support. Recognised and awarded by Envato on multiple occasions for producing consistently outstanding products, it's no wonder over 20,000 customers enjoy using Medium Rare templates.