- Include animate.css inside the head tag in app/_layout.ejs:
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/animate.css/3.2.0/animate.min.css">
- In app/recipe06-10.ejs, add the following code in between the HTML body tags:
<!--Call your modal--><a id="demo01" href="#animatedModal">DEMO01</a><!--DEMO01--><div id="animatedModal"> <!--THIS IS IMPORTANT! to close the modal, the class name has to match the name given on the ID class="close-animatedModal" --> <div class="close-animatedModal"> CLOSE MODAL </div> <div class="modal-content"> <!--Your modal content goes here--> </div></div>
- Add the address of the raw animatedModal.js file from the plugin's GitHub repository into the GitCDN.xyz input field. Copy ...