Modern Frost 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>Modern Frost 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, #e0eafc, #cfdef3); 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.2); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); animation: frost 2.5s ease-in-out infinite; overflow: hidden; } .container::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)); z-index: 0; pointer-events: none; } .container-content { position: relative; z-index: 1; text-align: center; color: #333; } .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: #b3cde0; } @keyframes frost { 0% { transform: scale(1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); } 50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); } 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); } } </style> </head> <body> <div class="container"> <div class="container-content"> <i class="fas fa-snowflake icon"></i> <h1>Modern Frost</h1> <p>Enjoy a modern frost effect with a clean gradient background.</p> </div> </div> </body> </html>