Eventify Cards Kit - 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>Eventify - Cards Kit</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> <style> /* General Styles */ body { font-family: 'Arial', sans-serif; background: #f3f3f3; margin: 0; padding: 20px; display: flex; flex-wrap: wrap; justify-content: center; } .card-container { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; } .card { width: 300px; background: white; border-radius: 15px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); overflow: hidden; transition: transform 0.3s; } .card:hover { transform: translateY(-10px); } .card-header { position: relative; height: 200px; background-size: cover; background-position: center; } .card-header img { width: 100%; height: 100%; object-fit: cover; } .card-header .emoji { position: absolute; top: 10px; right: 10px; font-size: 2em; animation: bounce 1s infinite alternate; } @keyframes bounce { 0% { transform: translateY(0); } 100% { transform: translateY(-10px); } } .card-body { padding: 20px; } .card-title { font-size: 1.5em; margin: 0; display: flex; align-items: center; } .card-title .icon { margin-right: 10px; color: #ff6b6b; animation: spin 2s linear infinite; } @keyframes spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } } .card-description { margin: 10px 0; color: #666; } .card-actions { display: flex; justify-content: space-between; } .card-actions button { padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; transition: background 0.3s; } .card-actions button:hover { background: #ddd; } .btn-primary { background: #ff6b6b; color: white; } .btn-secondary { background: #f3f3f3; color: #333; } /* Animations */ .fade-in { animation: fadeIn 1s ease-in-out; } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } .slide-up { animation: slideUp 0.5s ease-in-out; } @keyframes slideUp { 0% { transform: translateY(20px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } </style> </head> <body> <div class="card-container"> <div class="card fade-in"> <div class="card-header" style="background-image: url('https://via.placeholder.com/300x200');"> <span class="emoji">🎉</span> </div> <div class="card-body"> <h3 class="card-title"><i class="fas fa-calendar-alt icon"></i> Event Title</h3> <p class="card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel orci non libero.</p> <div class="card-actions"> <button class="btn-primary">Join Now</button> <button class="btn-secondary">Learn More</button> </div> </div> </div> <div class="card slide-up"> <div class="card-header" style="background-image: url('https://via.placeholder.com/300x200');"> <span class="emoji">🎂</span> </div> <div class="card-body"> <h3 class="card-title"><i class="fas fa-birthday-cake icon"></i> Birthday Bash</h3> <p class="card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel orci non libero.</p> <div class="card-actions"> <button class="btn-primary">Join Now</button> <button class="btn-secondary">Learn More</button> </div> </div> </div> <div class="card fade-in"> <div class="card-header" style="background-image: url('https://via.placeholder.com/300x200');"> <span class="emoji">🎤</span> </div> <div class="card-body"> <h3 class="card-title"><i class="fas fa-microphone-alt icon"></i> Music Concert</h3> <p class="card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel orci non libero.</p> <div class="card-actions"> <button class="btn-primary">Join Now</button> <button class="btn-secondary">Learn More</button> </div> </div> </div> </div> </body> </html>