Skip to content

Commit 10d7a85

Browse files
authored
Update index.html
1 parent 821a3ee commit 10d7a85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/background/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@
133133

134134
<!-- Snow dots -->
135135
<script>
136-
const numDots = 60;
136+
const numDots = 1000;
137137
for (let i = 0; i < numDots; i++) {
138138
const dot = document.createElement('div');
139139
dot.classList.add('dot');
140140
const size = Math.random() * 4 + 2;
141141
dot.style.width = `${size}px`;
142142
dot.style.height = `${size}px`;
143143
dot.style.left = `${Math.random() * 100}%`;
144-
dot.style.animationDuration = `${4 + Math.random() * 8}s`;
144+
dot.style.animationDuration = `${1 + Math.random() * 10}s`;
145145
dot.style.animationDelay = `${Math.random() * 5}s`;
146146
document.body.appendChild(dot);
147147

0 commit comments

Comments
 (0)