added sun and stars
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
let starNoise = document.getElementById("starNoise")
|
||||
let randX = randomInt(0, 256)
|
||||
let randY = randomInt(0, 256)
|
||||
|
||||
starNoise.style.top = `calc(${randX}px * var(--pxDensity))`
|
||||
starNoise.style.left = `calc(${randY}px * var(--pxDensity))`
|
||||
}, false)
|
||||
Reference in New Issue
Block a user