Fairy Tale 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>Fairy Tale Container</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <style> body { background: linear-gradient(135deg, #ff9a9e, #fad0c4); display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; font-family: 'Arial', sans-serif; } .fairy-tale-container { background: #fff; border-radius: 15px; box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1); padding: 30px; max-width: 400px; text-align: center; animation: fadeIn 1s ease-in-out; position: relative; overflow: hidden; color: #000; } .fairy-tale-container::before { content: '🧚'; font-size: 120px; color: rgba(255, 192, 203, 0.3); position: absolute; top: -50px; right: -50px; animation: sparkle 20s linear infinite; } .fairy-tale-container h1 { font-size: 2em; margin-bottom: 10px; animation: fadeIn 2s ease-in-out 1s; } .fairy-tale-container p { margin-bottom: 20px; animation: fadeIn 2s ease-in-out 1.5s; } .fairy-tale-container .button { background: #ff6f61; border: none; border-radius: 50px; color: white; padding: 10px 20px; font-size: 1em; cursor: pointer; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; animation: fadeIn 2s ease-in-out 2s; } .fairy-tale-container .button:hover { background: #fad0c4; color: #ff6f61; box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); transform: translateY(-3px); } .fairy-tale-container .icons { margin-top: 20px; animation: fadeIn 2s ease-in-out 2.5s; } .fairy-tale-container .icons i { font-size: 2em; margin: 0 10px; color: #ff6f61; transition: color 0.3s ease; } .fairy-tale-container .icons i:hover { color: #fad0c4; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes sparkle { from { transform: scale(1); } to { transform: scale(1.2); } } </style> </head> <body> <div class="fairy-tale-container"> <h1>Enter the Fairy Tale</h1> <p>Discover the magic with this fairy tale-themed container.</p> <button type="button" class="button">Enchant</button> <div class="icons"> <i class="fas fa-magic"></i> <i class="fas fa-star"></i> <i class="fas fa-wand-magic-sparkles"></i> </div> </div> </body> </html>