Streaming live at 10am (PST)

Alternative to reusing hide/show interaction on multiple elements

Hi community, I would like to reuse the hide/show interaction on multiple elements, however, I have been struggling because when I trigger one hide button, it affects the other elements. One solution I found was to add distinct classes to each of the “show” element and create multiple interactions. However, this is not efficient when you have multiple interactions per page, on 10+ pages. Any suggestions on how to resolve this?


Hi, on my side, the solution I found was to set the animation to “class” and “only affect siblings with this class”, my hidden element being under my button.