Fire Animation Tag - MeggiTools
Run
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>Fire Animation Tag</title> <style> @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); body { font-family: 'Roboto', sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #333; margin: 0; } .tag { display: inline-flex; align-items: center; padding: 10px 20px; background: linear-gradient(135deg, #ff0000, #ff6600); border-radius: 25px; color: #fff; font-weight: 700; position: relative; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; } .tag:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); } .tag .emoji { margin-left: 10px; font-size: 1.5em; } .fire { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; background: rgba(255, 69, 0, 0.5); transform: translate(-50%, -50%); border-radius: 25px; animation: flicker 1s infinite alternate; pointer-events: none; z-index: -1; } @keyframes flicker { 0% { opacity: 0.8; } 100% { opacity: 1; } } </style> </head> <body> <div class="tag"> Fire Tag <span class="emoji">🔥</span> <div class="fire"></div> </div> </body> </html>