Add starfield.js in the landing page. (#1833)

This commit is contained in:
Yudong Jin
2025-12-27 05:33:45 +08:00
committed by GitHub
parent da230312cd
commit 2db8f741a8
6 changed files with 502 additions and 4 deletions
+15
View File
@@ -551,4 +551,19 @@ a:hover .text-button span {
left: 0;
width: 100%;
height: 100%;
}
/* starfield */
.starfield {
position: absolute;
width: 100%;
height: 100%;
z-index: 0;
}
.starfield-origin {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}