Serene Forest Jumbotron - 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>Serene Forest Jumbotron</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 right, rgba(34, 193, 195, 0.5), rgba(253, 187, 45, 0.5)); height: 100vh; display: flex; justify-content: center; align-items: center; } .jumbotron { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; width: 80%; max-width: 600px; background: rgba(255, 255, 255, 0.3); border-radius: 15px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); text-align: center; position: relative; animation: bounceIn 1s ease-out; } .jumbotron::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1)); border-radius: 15px; z-index: -1; } .jumbotron h1 { font-size: 3.3rem; margin: 0; color: #fff; animation: fadeIn 2s ease-out; } .jumbotron p { font-size: 1.3rem; margin: 1rem 0; color: #fff; animation: fadeIn 2s ease-out 0.5s; } .jumbotron .btn { display: inline-flex; align-items: center; background: #22c1c3; color: #fff; padding: 0.7rem 1.5rem; border: none; border-radius: 25px; font-size: 1.1rem; cursor: pointer; text-decoration: none; transition: background 0.3s, transform 0.3s; animation: fadeIn 2s ease-out 1s; } .jumbotron .btn:hover { background: #1e9a9b; transform: scale(1.05); } .jumbotron .btn i { margin-right: 0.5rem; } @keyframes bounceIn { from { opacity: 0; transform: scale(0.5); } 50% { transform: scale(1.1); } to { opacity: 1; transform: scale(1); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } </style> </head> <body> <div class="jumbotron"> <h1>Forest Serenity</h1> <p>Immerse yourself in the tranquility of the forest with our serene jumbotron.</p> <a href="#" class="btn"><i class="fas fa-tree"></i> Explore Nature</a> </div> </body> </html>