body, html { height: 100%; margin: 0; overflow: hidden; background-color: #f4f4f4; } .paw-print-container { position: relative; height: 100%; width: 100%; } .paw-print { position: absolute; font-size: 24px; animation: fall 5s linear infinite; } @keyframes fall { 0% { top: -50px; } 100% { top: 100%; } }
top of page

Find your ultimate zone for flow...

Power Up Coaching with Kelly Milburn

What you can expect.

Respect

Adopt a Healthy Lifestyle

Set Goals

Tailored Coaching Plans

Healthy Breakfast
Contact
bottom of page
function createPawPrint() { const pawPrint = document.createElement('div'); pawPrint.classList.add('paw-print'); pawPrint.textContent = '🐾'; // Using the paw print emoji as the graphic pawPrint.style.left = Math.random() * 100 + 'vw'; pawPrint.style.animationDuration = Math.random() * 3 + 3 + 's'; // Random duration between 3 to 6 seconds document.querySelector('.paw-print-container').appendChild(pawPrint); // Remove the paw print after it falls off the screen setTimeout(() => { pawPrint.remove(); }, 5000); } // Create a new paw print every 300 milliseconds setInterval(createPawPrint, 300);