Cosmic Burst 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>Cosmic Burst 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, #2b32b2, #1488cc); height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; } .container { position: relative; width: 80%; max-width: 600px; padding: 20px; background: rgba(255, 255, 255, 0.15); border-radius: 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); animation: burst 3s ease-out infinite; overflow: hidden; } .container::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.1)); z-index: 0; pointer-events: none; } .container-content { position: relative; z-index: 1; text-align: center; color: #fff; } .container h1 { font-size: 2.5em; margin: 0; padding: 0; } .container p { font-size: 1.2em; margin-top: 10px; } .icon { font-size: 3em; margin: 20px 0; color: #fff; animation: rotate 4s linear infinite; } @keyframes burst { 0% { transform: scale(1); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); } 50% { transform: scale(1.1); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); } 100% { transform: scale(1); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); } } @keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } </style> </head> <body> <div class="container"> <div class="container-content"> <i class="fas fa-rocket icon"></i> <h1>Cosmic Burst</h1> <p>Discover a cosmic burst effect with a dynamic gradient background.</p> </div> </div> </body> </html>