delete unnecesary script
This commit is contained in:
parent
84da379efe
commit
38296f972e
1 changed files with 13 additions and 0 deletions
13
script.js
Normal file
13
script.js
Normal file
|
@ -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…
Add table
Reference in a new issue