Neon Pulse Container - 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>Neon Pulse Container</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <style> body { margin: 0; font-family: 'Arial', sans-serif; background: linear-gradient(to bottom right, #ff005c, #ff5e00); height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; } .container { position: relative; width: 80%; max-width: 600px; padding: 20px; background: rgba(0, 0, 0, 0.4); border-radius: 15px; box-shadow: 0 0 15px rgba(255, 0, 85, 0.5), inset 0 0 15px rgba(255, 0, 85, 0.5); animation: pulse 2s infinite; overflow: hidden; } .container::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(255, 0, 85, 0.2), rgba(255, 255, 255, 0.2)); z-index: 0; pointer-events: none; animation: gradientMove 15s linear infinite; } .container-content { position: relative; z-index: 1; text-align: center; color: #fff; } .container h1 { font-size: 2.5em; margin: 0; padding: 0; animation: fadeIn 1s ease-out; } .container p { font-size: 1.2em; margin-top: 10px; animation: fadeInText 1s ease-in; } .icon { font-size: 3em; margin: 20px 0; color: #ff005c; } @keyframes pulse { 0% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 0, 85, 0.5), inset 0 0 15px rgba(255, 0, 85, 0.5); } 50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(255, 0, 85, 0.7), inset 0 0 30px rgba(255, 0, 85, 0.7); } 100% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 0, 85, 0.5), inset 0 0 15px rgba(255, 0, 85, 0.5); } } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInText { from { opacity: 0; } to { opacity: 1; } } @keyframes gradientMove { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } } </style> </head> <body> <div class="container"> <div class="container-content"> <i class="fas fa-heart icon"></i> <h1>Neon Pulse</h1> <p>Experience a pulsating neon effect with a vibrant gradient background.</p> </div> </div> </body> </html>