Create a modal pop-up

Hi guys!

I’m trying to make a modal pop-up (like this one) But I’d like to use a div instead of a button as a trigger.
I just replaced the button whit a div, used the same class and added the interaction. I think I am missing something because the interaction does not work correctly.

Can you please help me?

Here is my public share link.

You have to set your modal wrapper to display none. Then it seems to work fine for me. The animations are a little weird the way it comes in though.

1 Like

Working now! Thanks!