Luxury Cars - VexaX
Run Code
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>Luxury Cars</title> <style> @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap'); body, html { margin: 0; padding: 0; height: 100%; overflow: hidden; font-family: 'Montserrat', sans-serif; background: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%); display: flex; justify-content: center; align-items: center; } .ad-container { width: 340px; height: 430px; background: #ffffff; border-radius: 20px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); overflow: hidden; position: relative; } .ad-header { background: #ff9a8b; color: #fff; padding: 20px; text-align: center; font-size: 24px; } .ad-content { padding: 20px; text-align: center; } .ad-content h2 { font-size: 22px; margin: 20px 0; color: #ff9a8b; } .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: #ff9a8b; border: none; padding: 15px 35px; color: #fff; font-size: 16px; border-radius: 35px; cursor: pointer; transition: background 0.3s; } .ad-footer button:hover { background: #ff7a69; } .icon { font-size: 50px; color: #ffffff; animation: zoom 2s infinite; } @keyframes zoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } </style> </head> <body> <div class="ad-container"> <div class="ad-header"> <div class="icon">🚗</div> Luxury Cars </div> <div class="ad-content"> <h2>Drive in Style</h2> <p>Experience the luxury and performance of our premium cars. Limited time offers available. Book a test drive today!</p> </div> <div class="ad-footer"> <button>Learn More</button> </div> </div> <script> document.querySelector('.ad-footer button').addEventListener('click', function() { alert('Discover our luxury cars collection!'); }); </script> </body> </html>