Unique Ad Template - 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>Unique Ad Template</title> <style> @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;800&display=swap'); body, html { margin: 0; padding: 0; height: 100%; overflow: hidden; font-family: 'Nunito', sans-serif; background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); display: flex; justify-content: center; align-items: center; background-attachment: fixed; } .ad-container { width: 350px; height: 480px; background: #ffffff; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); overflow: hidden; position: relative; } .ad-header { background: linear-gradient(45deg, #ff6ec4, #7873f5); padding: 20px; color: #fff; text-align: center; font-size: 24px; font-weight: 800; position: relative; } .ad-header img { width: 50px; height: 50px; border-radius: 50%; margin-top: 10px; } .ad-content { padding: 20px; text-align: center; } .ad-content h2 { font-size: 22px; margin: 20px 0; } .ad-content p { font-size: 16px; color: #666; } .ad-footer { position: absolute; bottom: 0; width: 100%; padding: 20px; text-align: center; background: #f5f5f5; } .ad-footer button { background: #ff6ec4; border: none; padding: 15px 30px; color: #fff; font-size: 16px; border-radius: 30px; cursor: pointer; transition: background 0.3s; } .ad-footer button:hover { background: #7873f5; } .icon { font-size: 50px; color: #ff6ec4; animation: bounce 2s infinite; } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } } .emoji { font-size: 24px; } </style> </head> <body> <div class="ad-container"> <div class="ad-header"> Amazing Product<br /> <img src="https://via.placeholder.com/50" alt="Product Image"> </div> <div class="ad-content"> <h2>Get it now!</h2> <p>This product will change your life. Don't miss out on this incredible offer. Buy it now and enjoy the benefits.</p> <div class="emoji">🔥 🎉 😍</div> </div> <div class="ad-footer"> <button>Buy Now</button> </div> </div> <script> document.querySelector('.ad-footer button').addEventListener('click', function() { alert('Thank you for your purchase!'); }); </script> </body> </html>