Glass Panel - 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>Glass Panel</title> <style> body { margin: 0; font-family: 'Arial', sans-serif; background: linear-gradient(to right, #ff7e5f, #feb47b); display: flex; justify-content: center; align-items: center; height: 100vh; } .glass-panel { width: 350px; padding: 20px; border-radius: 15px; background: rgba(255, 255, 255, 0.2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); position: relative; text-align: center; color: #fff; } .glass-panel h1 { margin: 0; font-size: 1.8em; } .glass-panel p { margin: 10px 0; } .glass-panel .icon { font-size: 2em; margin: 10px; } .glass-panel .emoji { font-size: 3em; margin: 10px; } @keyframes fade { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .icon-fade { animation: fade 2s infinite; } .emoji-fade { animation: fade 2s infinite; } button { margin-top: 20px; padding: 10px 20px; font-size: 1em; color: #000; background-color: #fff; border: none; border-radius: 5px; cursor: pointer; } button:hover { background-color: #feb47b; } </style> </head> <body> <div class="glass-panel"> <div class="icon icon-fade">❄️</div> <h1>Glass Panel</h1> <p>This container gives a smooth glass-like effect.</p> <div class="emoji emoji-fade">🌟</div> <button type="button">See More</button> </div> </body> </html>