diff options
Diffstat (limited to 'templates/modal.html')
-rw-r--r-- | templates/modal.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/modal.html b/templates/modal.html new file mode 100644 index 0000000..57f60d1 --- /dev/null +++ b/templates/modal.html @@ -0,0 +1,11 @@ +<div id="modal" _="on closeModal add .closing then wait for animationend then remove me"> + <div class="modal-underlay" _="on click trigger closeModal"></div> + <div class="modal-content"> + <h1>Modal Dialog</h1> + This is the modal content. + You can put anything here, like text, or a form, or an image. + <br> + <br> + <button _="on click trigger closeModal">Close</button> + </div> +</div>
\ No newline at end of file |