It’s very easy to use — the above “confetti blast” span works like this:
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"></script>
<span onclick="confetti()">confetti blasts</span>
The .js file is ~3 KB gzipped.
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.