Creating Expandable Tab with Nested Close Button

Hi there,

I’ve been having difficulty trying to create an expandable expandable tab that opens when you click on the containing div, but closes when a user clicks on the close button nested inside.

I was able to get to the point where I can open the tab upon clicking the parent div, closing part is proving to be way more difficult than I expected. The header that’s visible on the closed state never comes back for some reason.

If anyone is able to help that would be greatly appreciated!


Here is my public share link: https://preview.webflow.com/preview/dealtap-dev-legal?preview=c0a902066a4183da3c27880da3f11a0c
(how to access public share link)

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.