Cookie Harmony Cookie Consent - 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>Cookie Harmony - Cookie Consent</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"> <style> body { font-family: 'Arial', sans-serif; background: #f3e5f5; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .cookie-harmony-container { background: #ab47bc; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); border-radius: 30px; width: 85%; max-width: 540px; padding: 25px; text-align: center; color: #fff; animation: slideInRight 1s ease-in-out; } .cookie-harmony-header { font-size: 2.5em; margin-bottom: 20px; } .cookie-harmony-content { font-size: 1.2em; margin-bottom: 25px; line-height: 1.6; } .cookie-harmony-buttons { display: flex; justify-content: center; gap: 15px; } .cookie-harmony-buttons button { background: #fff; color: #ab47bc; border: none; padding: 12px 30px; font-size: 1.2em; border-radius: 15px; cursor: pointer; transition: transform 0.3s ease; } .cookie-harmony-buttons button:hover { transform: scale(1.1); } @keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } } </style> </head> <body> <div class="cookie-harmony-container"> <div class="cookie-harmony-header">🍪 Cookie Harmony</div> <div class="cookie-harmony-content"> We use cookies to create harmony in your browsing experience. By continuing, you agree to our use of cookies. </div> <div class="cookie-harmony-buttons"> <button onclick="acceptCookiesHarmony()">Accept</button> <button onclick="declineCookiesHarmony()">Decline</button> </div> </div> <script> function acceptCookiesHarmony() { alert('Cookies Accepted!'); // Add further cookie acceptance logic here } function declineCookiesHarmony() { alert('Cookies Declined!'); // Add further cookie decline logic here } </script> </body> </html>