Show/Hide for SN Accordions

Version: 1.0.0

Here is a component to open/close Zack Pyle’s Accordions (basic, advanced, and FAQ). Add a class to your target accordion, then add the target selector to the control. If you don’t add a target, all accordions on the page will open and close.

CSS LogoA purple square with rounded corners and the letters CSS inside in white

AI Statement

Changelog

  • 1.0.0Initial release.

ACSS Usage

Automatic.CSS (ACSS) is used in most components and patterns, but in the event you aren't using it, you should be able to easily update the CSS if you are not using it.

Usage

This work is marked CC0 1.0 Universal