fix: fade up animation error

This commit is contained in:
radishzzz 2025-05-17 20:24:51 +01:00
parent a35999629a
commit dda2bb6caa
2 changed files with 1 additions and 11 deletions

8
pnpm-lock.yaml generated
View file

@ -32,9 +32,6 @@ importers:
feed:
specifier: ^5.0.1
version: 5.0.1
gsap:
specifier: ^3.13.0
version: 3.13.0
markdown-it:
specifier: ^14.1.0
version: 14.1.0
@ -2194,9 +2191,6 @@ packages:
graphemer@1.4.0:
resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}
gsap@3.13.0:
resolution: {integrity: sha512-QL7MJ2WMjm1PHWsoFrAQH/J8wUeqZvMtHO58qdekHpCfhvhSL4gSiz6vJf5EeMP0LOn3ZCprL2ki/gjED8ghVw==}
gzip-size@6.0.0:
resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==}
engines: {node: '>=10'}
@ -6290,8 +6284,6 @@ snapshots:
graphemer@1.4.0: {}
gsap@3.13.0: {}
gzip-size@6.0.0:
dependencies:
duplexer: 0.1.2

View file

@ -45,10 +45,8 @@ html[data-theme-changing] [data-disable-theme-transition] {
}
}
.animation-fade-up > * {
opacity: 0;
}
.animation-fade-up > *:nth-child(-n+20) {
opacity: 0;
animation: fadeUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
animation-delay: calc((var(--animation-order, 0) - 1) * 0.08s);
}