We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 821a3ee commit 10d7a85Copy full SHA for 10d7a85
assets/background/index.html
@@ -133,15 +133,15 @@
133
134
<!-- Snow dots -->
135
<script>
136
- const numDots = 60;
+ const numDots = 1000;
137
for (let i = 0; i < numDots; i++) {
138
const dot = document.createElement('div');
139
dot.classList.add('dot');
140
const size = Math.random() * 4 + 2;
141
dot.style.width = `${size}px`;
142
dot.style.height = `${size}px`;
143
dot.style.left = `${Math.random() * 100}%`;
144
- dot.style.animationDuration = `${4 + Math.random() * 8}s`;
+ dot.style.animationDuration = `${1 + Math.random() * 10}s`;
145
dot.style.animationDelay = `${Math.random() * 5}s`;
146
document.body.appendChild(dot);
147
0 commit comments