Mitcheljager / svelte-confetti

Confetti in Svelte! Celebrate things with some extra flair. Animates using just HTML and CSS meaning it can work with SSR in SvelteKit!
https://mitcheljager.github.io/svelte-confetti/
265 stars 10 forks source link

Is it working ? #14

Open mikadev opened 2 months ago

mikadev commented 2 months ago
<div style="
 position: fixed;
 top: 150px;
 left: 0;
 z-index:99;
 height: 100vh;
 width: 100vw;
 display: flex;
 justify-content: center;
 overflow: hidden;
 pointer-events: none;">
        test
        <Confetti amount=200 delay={[500, 2000]} duration=5000 fallDistance="100vh" infinite x={[-5, 5]} y={[0, 0.1]} />
    </div>

nothing happen...

mikadev commented 2 months ago

For those who interested the documentation is broken install 1.4.0 instead of 1.0.0 (S4)