feat: add ray and spotlight

This commit is contained in:
Li Xin
2025-04-28 17:32:13 +08:00
parent e3b9beeefd
commit 78b10ec066
3 changed files with 59 additions and 0 deletions

View File

@@ -18,6 +18,18 @@
opacity: 1;
}
}
--animate-spotlight: spotlight 2s ease 0.75s 1 forwards;
@keyframes spotlight {
0% {
opacity: 0;
transform: translate(-72%, -62%) scale(0.5);
}
to {
opacity: 1;
transform: translate(-50%, -40%) scale(1);
}
}
}
@theme inline {