biome, bun, tailwind v4
This commit is contained in:
parent
ed8d366df6
commit
678fa26c76
16 changed files with 64 additions and 7977 deletions
|
@ -1,12 +1,14 @@
|
|||
import { animate, stagger } from "motion";
|
||||
|
||||
const elements = document.querySelectorAll("img, h1");
|
||||
// const elements = document.querySelectorAll("img, h1");
|
||||
const fade = document.getElementById("fade");
|
||||
const elements = fade.querySelectorAll("*");
|
||||
animate(
|
||||
elements,
|
||||
{ opacity: [0, 1] },
|
||||
{
|
||||
duration: 0.6,
|
||||
delay: stagger(0.6, { startDelay: 0.2 }),
|
||||
ease: "easeIn",
|
||||
},
|
||||
elements,
|
||||
{ opacity: [0, 1] },
|
||||
{
|
||||
duration: 0.6,
|
||||
delay: stagger(0.6, { startDelay: 0.2 }),
|
||||
ease: "easeIn",
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue