Show and hide elements on click

Create a mouse click or tap trigger using one element—which upon clicking shows and hides a different element.

The UI in this lesson may seem different if you've enables the Style Panel Beta! This content will be updated soon!
 
This video features an old UI. Updated version coming soon!
This video features an old UI. Updated version coming soon!

Want to create an accordion to progressively display content, for example, for FAQs? Check out building a custom accordion.

Browser support

Can I Use ? Data on support for the feature across the major browsers from caniuse.com.