Skip to content

Commit f00610c

Browse files
committed
snuck in a scroll animation for the episodes list
while i'm makin scroll better
1 parent 02669d8 commit f00610c

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/styles/global.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@ footer:has(+ #audio-player .player) {
2828
}
2929
}
3030

31+
[aria-label="EpisodeList"] li {
32+
animation: episode-in linear both;
33+
animation-timeline: view();
34+
animation-range: entry 10% cover 25%;
35+
}
36+
37+
@keyframes episode-in {
38+
from {
39+
opacity: 0;
40+
translate: 0 25px;
41+
}
42+
}
43+
3144
.animated-bottom-border {
3245
@apply border-b after:block after:h-[1px] after:w-0 after:bg-gradient-to-r after:from-[#C6B2FF] after:to-[#8D67FF] after:transition-all after:duration-500 after:ease-in-out hover:after:w-full dark:border-dark-border dark:after:from-[#43C9F5] dark:after:to-[#B4EDFF];
3346
}

0 commit comments

Comments
 (0)