Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

modal javascript example

<button class="trigger">Click here to trigger the modal!</button>
<div class="modal">
    <div class="modal-content">
        <span class="close-button">&times;</span>
        <h1>Hello, I am a modal!</h1>
    </div>
</div>
Source by sabe.io #
 
PREVIOUS NEXT
Tagged: #modal #javascript
ADD COMMENT
Topic
Name
6+9 =