Healthy Lifestyle - 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>Healthy Lifestyle</title> <style> @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap'); body, html { margin: 0; padding: 0; height: 100%; overflow: hidden; font-family: 'Poppins', sans-serif; background: linear-gradient(145deg, #a8ff78, #78ffd6); display: flex; justify-content: center; align-items: center; } .ad-container { width: 320px; height: 410px; background: #ffffff; border-radius: 20px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); overflow: hidden; position: relative; } .ad-header { background: #00b894; color: #fff; padding: 15px; text-align: center; font-size: 22px; font-weight: 700; } .ad-content { padding: 20px; text-align: center; } .ad-content h2 { font-size: 20px; margin: 15px 0; color: #00b894; } .ad-content p { font-size: 14px; color: #666; } .ad-footer { position: absolute; bottom: 0; width: 100%; padding: 15px; text-align: center; background: #f7f7f7; } .ad-footer button { background: #00b894; border: none; padding: 12px 25px; color: #fff; font-size: 14px; border-radius: 25px; cursor: pointer; transition: background 0.3s; } .ad-footer button:hover { background: #00997b; } .icon { font-size: 60px; color: #00b894; animation: swing 1.5s infinite; } @keyframes swing { 0% { transform: rotate(0deg); } 50% { transform: rotate(15deg); } 100% { transform: rotate(0deg); } } </style> </head> <body> <div class="ad-container"> <div class="ad-header"> <div class="icon">🍎</div> Healthy Lifestyle </div> <div class="ad-content"> <h2>Get Fit & Stay Healthy</h2> <p>Join our healthy lifestyle program and transform your life. Get personalized plans and guidance from experts.</p> </div> <div class="ad-footer"> <button>Join Now</button> </div> </div> <script> document.querySelector('.ad-footer button').addEventListener('click', function() { alert('Welcome to a healthier you!'); }); </script> </body> </html>