Help with workaround for targeting interactions with id?

So when creating an interaction that affects different elements, I can only target classes. The interaction moves a button off the page and fades out. Problem I’m having is that it is affecting all the buttons on a page that have that class. I only want it to affect one button.

My option seems to be having two classes. One for buttons to be affected by interactions and one for buttons that want to be unaffected.

Duplicating a class doesn’t feel right and wondered if there was a better solution to this.

I think another way could be to nest the button I want to be affected by interactions, into a div, and give that a class name. Then in the interactions bit, target that div instead of the button class.

Share link
https://preview.webflow.com/preview/test-button-2b8556?preview=92eeac14a9e1a318a519c481fe0656eb

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