Retro 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>Retro Card</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #f8c291; margin: 0; font-family: 'Arial', sans-serif; } .credit-card { width: 340px; height: 210px; border-radius: 20px; background: #f39c12; border: 3px solid #e67e22; position: relative; overflow: hidden; color: #fff; padding: 20px; box-sizing: border-box; box-shadow: 5px 5px 15px #e67e22, -5px -5px 15px #f1c40f; } .card-logo { position: absolute; top: 20px; left: 20px; font-size: 1.2rem; font-family: 'Courier New', Courier, monospace; } .chip { position: absolute; top: 60px; left: 20px; width: 50px; height: 35px; background: #d35400; border-radius: 5px; box-shadow: 2px 2px 5px rgba(0,0,0,0.3); } .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; font-family: 'Courier New', Courier, monospace; } .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">💳 Retro Card</div> <div class="chip"></div> <div class="card-number"> <span>4321</span> <span>8765</span> <span>1234</span> <span>5678</span> </div> <div class="card-holder">Card Holder: Sarah</div> <div class="expiry-date">Valid Thru: 06/24</div> <div class="icons"> <span>📼</span> <span>🎉</span> </div> </div> </body> </html>