Flaming Cursor - VexaX
Run Code
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Flaming Cursor</title> <style> body { margin: 0; padding: 0; overflow: hidden; background-color: #000; cursor: none; } .flame { position: absolute; width: 10px; height: 10px; background-color: #ff4500; border-radius: 50%; pointer-events: none; animation: flameAnimation 0.6s infinite; } @keyframes flameAnimation { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } } </style> </head> <body> <div class="flame" id="cursor"></div> <script> document.addEventListener('mousemove', (e) => { const cursor = document.getElementById('cursor'); cursor.style.left = `${e.pageX}px`; cursor.style.top = `${e.pageY}px`; }); </script> </body> </html>