Card Style List - 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>Card Style List</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <style> body { font-family: 'Arial', sans-serif; background: #f8f9fa; margin: 0; display: flex; justify-content: center; align-items: center; height: 100vh; } .card-list { display: grid; gap: 15px; max-width: 600px; width: 90%; } .card-list .card { background: #fff; border-radius: 15px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); padding: 20px; transition: transform 0.3s, box-shadow 0.3s; } .card-list .card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); } .card-list .card .icon { font-size: 30px; color: #17a2b8; } .card-list .card .text { margin: 10px 0; font-size: 20px; color: #333; } .card-list .card .emoji { font-size: 24px; } </style> </head> <body> <div class="card-list"> <div class="card"> <i class="fas fa-check icon"></i> <div class="text">Card Item 1</div> <div class="emoji">✨</div> </div> <div class="card"> <i class="fas fa-star icon"></i> <div class="text">Card Item 2</div> <div class="emoji">🌠</div> </div> <div class="card"> <i class="fas fa-heart icon"></i> <div class="text">Card Item 3</div> <div class="emoji">💜</div> </div> <div class="card"> <i class="fas fa-smile icon"></i> <div class="text">Card Item 4</div> <div class="emoji">😄</div> </div> </div> </body> </html>