Travel Diaries - 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>Travel Diaries</title> <style> body, html { margin: 0; padding: 0; font-family: 'Arial', sans-serif; overflow-x: hidden; } .hero { position: relative; width: 100%; height: 100vh; background: url('https://source.unsplash.com/1600x900/?travel') no-repeat center center/cover; color: white; display: flex; align-items: center; justify-content: center; text-align: center; } .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 1; } .hero-content { position: relative; z-index: 2; animation: fadeInUp 1.5s ease-out; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } } .hero h1 { font-size: 4rem; margin: 0; } .hero p { font-size: 1.5rem; margin: 20px 0; } .cta-button { padding: 15px 30px; font-size: 1.2rem; color: #fff; background: #ff6347; border: none; border-radius: 50px; cursor: pointer; transition: background 0.3s ease-in-out; } .cta-button:hover { background: #e55330; } </style> </head> <body> <div class="hero"> <div class="hero-overlay"></div> <div class="hero-content"> <h1>Discover the World</h1> <p>Your next adventure is just a click away.</p> <button class="cta-button">Explore Now</button> </div> </div> </body> </html>