I'm trying to create a with a "popup" submenu on click.
There's three separate submenus, and I can get them to show with Javascript, except they stack on top of each other. How can I hide the previously shown div when the next one is clicked?
Can I do this with pure CSS?
See this pen for more details.