DEV Community

Discussion on: Pure CSS Accrodion

inhuofficial profile image
InHuOfficial • Edited on

Why make things complicated?

Works with keyboard, is accessible, is easier to style and is semantically correct, use the <details> and <summary> elements to save yourself a load of headaches!

aka_tamer profile image
Tamer Author • Edited on

MY COMPLIMENTS, thank u for this trick!
small note - this is not supported by explorer