Streaming live at 10am (PST)

Show and hide elements on click - fixing content below

hello… i’m about to implement the show and hide elements on click feature in the middle of a page. I have content right below where I want to implement the feature though… and wondering what I should do with it.

here’re the initial state + final state

I’m not sure I understand your concern… If the hidden content is in a div that you control the height (from zero to x) with interaction, anything that’s below will be pushed down when it opens, pulled up when it collapses. Which is expected in terms of UX.

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