A simple accordion menu using BEM classes

HTML:

 

SASS:

 

JAVASCRIPT:

Live result: https://codepen.io/thomaskarl/pen/QVprZe

 

Leave a Reply

Your email address will not be published. Required fields are marked *