switched to canvas

This commit is contained in:
MLH
2025-01-13 01:16:37 +01:00
parent fc8fdf0469
commit 88f378bd5d
3 changed files with 114 additions and 60 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; */
}