Demo
States & Variations
Open
An attribute of open
is added to the details
element
Auto Insurance
Auto Insurance is required for drivers in the US. This accordion spoiler is open by default.
Closed
No attribute is added to the details
element
Auto Insurance
Auto Insurance is required for drivers in the US.
Usage
An accordion can be applied to a Wordpress post by adding in this shortcode. Appropriate HTML will be rendered on output.
Anatomy
- Accordion
- Accordion Content
- Accordion Summary/Heading
- Accordion Icon
- Accordion Details