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.