Modern Clean Popup Modal In JavaScript – Fusilli.js

Category: Modal & Popup | September 18, 2020
Author: AnTheMaker
Views Total: 129 views
Official Page: Go to website
Last Update: September 18, 2020
License: MIT


Modern Clean Popup Modal In JavaScript – Fusilli.js


A super tiny popup JavaScript popup library that helps you create a modern clean modal window to showcase any HTML content on the top of the page.

How to use it:

1. Load the minified version of the Fusilli.js library at the end of the document.

<script src="fusilli.min.js"></script>

2. Add HTML content to the Fusilli modal popup.

<div id="modal-example" class="modal" aria-hidden="true">
  <div class="modal_box">
    Any Modal Content Here

3. Hide the modal popup on page load.

.modal{ display: none; }

4. Launch the modal popup when needed.




  • Add a higher z-index to always show the modal on top

You Might Be Interested In:

Leave a Reply