typescript errors v2

This commit is contained in:
z0x 2024-12-31 01:37:35 -05:00
parent 041c52277d
commit 759f713545
3 changed files with 3 additions and 5 deletions

View file

@ -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] },