switched snowfall to canvas

This commit is contained in:
MLH
2025-01-13 01:17:02 +01:00
parent 05b0a748de
commit 517efb25a2
3 changed files with 87 additions and 54 deletions

View File

@ -1,8 +1,17 @@
.snowflake {
.snowfall-container {
position: fixed;
background-color: white;
/* background-color: rgba(255, 255, 255, 0.8); */
border-radius: 50%;
width: 100%;
height: 100vh;
background: transparent;
overflow: hidden;
pointer-events: none;
}
#snowfallCanvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
/* opacity: 0.7; */
}