Elegant Card - 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>Elegant Card</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background: linear-gradient(135deg, #bdc3c7, #2c3e50); margin: 0; font-family: 'Arial', sans-serif; } .credit-card { width: 340px; height: 210px; border-radius: 20px; background: #ffffff; border: 2px solid #2c3e50; position: relative; overflow: hidden; color: #2c3e50; padding: 20px; box-sizing: border-box; box-shadow: 0 4px 8px rgba(0,0,0,0.2); } .card-logo { position: absolute; top: 20px; left: 20px; font-size: 1.2rem; font-weight: bold; } .chip { position: absolute; top: 60px; left: 20px; width: 50px; height: 35px; background: #bdc3c7; border-radius: 5px; box-shadow: 2px 2px 5px rgba(0,0,0,0.2); } .card-number { position: absolute; top: 110px; left: 20px; font-size: 1.2rem; letter-spacing: 2px; display: flex; gap: 10px; } .card-number span { display: block; } .card-holder { position: absolute; bottom: 50px; left: 20px; font-size: 0.9rem; } .expiry-date { position: absolute; bottom: 50px; right: 20px; font-size: 0.9rem; } .icons { position: absolute; bottom: 20px; right: 20px; display: flex; gap: 10px; font-size: 1.5rem; } </style> </head> <body> <div class="credit-card"> <div class="card-logo">💳 Elegant Card</div> <div class="chip"></div> <div class="card-number"> <span>6789</span> <span>0123</span> <span>4567</span> <span>8901</span> </div> <div class="card-holder">Card Holder: Emily Davis</div> <div class="expiry-date">Valid Thru: 09/28</div> <div class="icons"> <span>✨</span> <span>🎩</span> </div> </div> </body> </html>