Modern Theme Cards - 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>Modern Theme Cards</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> <style> body { font-family: 'Arial', sans-serif; background: #f5f5f5; display: flex; flex-wrap: wrap; justify-content: center; padding: 20px; } .card-container { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; } .modern-card { width: 300px; background: #fff; border-radius: 15px; padding: 20px; text-align: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); transition: transform 0.3s, box-shadow 0.3s; } .modern-card:hover { transform: translateY(-10px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); } .modern-card .icon { font-size: 3em; color: #2196f3; margin-bottom: 10px; } .modern-card h3 { margin: 10px 0; font-size: 1.5em; color: #333; } .modern-card p { color: #666; } .modern-card button { margin-top: 10px; padding: 10px 20px; border: none; border-radius: 5px; background: #2196f3; color: white; cursor: pointer; transition: background 0.3s; } .modern-card button:hover { background: #1976d2; } </style> </head> <body> <div class="card-container"> <div class="modern-card"> <i class="fas fa-briefcase icon"></i> <h3>Career Fair</h3> <p>Meet potential employers and advance your career.</p> <button>Join Now</button> </div> <div class="modern-card"> <i class="fas fa-bullhorn icon"></i> <h3>Marketing Seminar</h3> <p>Learn the latest marketing strategies.</p> <button>Join Now</button> </div> <div class="modern-card"> <i class="fas fa-lightbulb icon"></i> <h3>Startup Pitch</h3> <p>Present your startup ideas to investors.</p> <button>Join Now</button> </div> <div class="modern-card"> <i class="fas fa-laptop-code icon"></i> <h3>Coding Bootcamp</h3> <p>Enhance your coding skills with our bootcamp.</p> <button>Join Now</button> </div> </div> </body> </html>