typescript errors v2
This commit is contained in:
parent
041c52277d
commit
759f713545
3 changed files with 3 additions and 5 deletions
|
@ -1,8 +1,6 @@
|
|||
import { animate, stagger } from "motion";
|
||||
|
||||
// const elements = document.querySelectorAll("img, h1");
|
||||
const fade = document.getElementById("fade");
|
||||
const elements = fade.querySelectorAll("*");
|
||||
const elements = document.querySelectorAll("img, h1");
|
||||
animate(
|
||||
elements,
|
||||
{ opacity: [0, 1] },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue