parent
84da379efe
commit
38296f972e
@ -0,0 +1,13 @@ |
|||||||
|
document.addEventListener('DOMContentLoaded', function() { |
||||||
|
const background = document.querySelector('.background'); |
||||||
|
const numLogos = 50; // Adjust the number of falling logos as needed
|
||||||
|
|
||||||
|
for (let i = 0; i < numLogos; i++) { |
||||||
|
const logo = document.createElement('div'); |
||||||
|
logo.classList.add('falling-logo'); |
||||||
|
logo.style.left = Math.random() * 100 + '%'; |
||||||
|
logo.style.setProperty('--duration', (Math.random() * 5 + 3) + 's'); |
||||||
|
background.appendChild(logo); |
||||||
|
} |
||||||
|
}); |
||||||
|
|
Loading…
Reference in new issue