Рет қаралды 3,564
🖐 Check out my Webflow templates: robn.link/templates
🤙 Try out Webflow using my affiliate link: webflow.grsm.io/robin
This will give me a small commission, which will help me lots. Thank you so much :)
This video will show you how you can create a modal that's possible to close by both clicking a close button, as well as outside the modal itself. It's actually really easy, you just need to separate the modal and a background wrapper (with a lower z-index than the modal itself) and add the same close interaction to the modal's button, as well as the background wrapper.
Have fun.
🖐 Portfolio: shapedbyrobin.com
🖐 Twitter: / shapedbyrobin
🖐 Instagram: / shapedbyrobin
🖐 Webflow: webflow.com/robingranqvist
🖐 Dribbble: dribbble.com/robingranqvist