star falling
Star by Atharv

Details
AuthorAtharv
LicenseNo License
Categoryidk
Created
Updated
Code size924 B
Code checksum45baf5d8
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
good
Source code
/* ==UserStyle==
@name Star
@version 20250322.21.07
@namespace ?
==/UserStyle== */
@-moz-document url("about:newtab"), url("about:home") {
body {
background: black;
overflow: hidden;
}
@keyframes fallingStars {
0% { transform: translateY(-100vh) translateX(0); opacity: 1; }
100% { transform: translateY(100vh) translateX(20vw); opacity: 0; }
}
.star {
position: absolute;
width: 2px;
height: 2px;
background: white;
box-shadow: 0 0 5px white;
animation: fallingStars linear infinite;
}
/* Generate multiple stars */
body::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
pointer-events: none;
}
body::after {
display: block;
animation: fallingStars 5s linear infinite;
}
}