Premium 3D Glassmorphism Credit Card
Create a realistic 3D Flipping Card with Glassmorphism effects. Perfect for adding a premium touch to your web projects.
**** **** **** 5678
FAMOUSCODE.DEV
999
AUTHORIZED SIGNATURE REQUIRED
Full Source Code
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<style>
body { background: #0f172a; display: flex; justify-content: center; align-items: center; height: 100vh; perspective: 1000px; margin: 0; }
.card { width: 300px; height: 180px; position: relative; transition: 0.8s; transform-style: preserve-3d; cursor: pointer; }
.card:hover { transform: rotateY(180deg); }
.side { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 15px; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); background: rgba(255,255,255,0.1); padding: 20px; box-sizing: border-box; color: white; display: flex; flex-direction: column; justify-content: space-between; }
.back { transform: rotateY(180deg); padding: 0 !important; }
.chip { width: 40px; height: 30px; background: linear-gradient(135deg, #f6d365, #fda085); border-radius: 4px; }
.visa { width: 50px; }
.bar-black { background: #000; height: 40px; width: 100%; margin-top: 20px; }
.bar-white { background: #fff; height: 30px; width: 70%; margin: 10px auto; color: #000; text-align: right; padding: 5px; font-weight: bold; box-sizing: border-box; }
</style>
</head>
<body>
<div class="card">
<div class="side">
<div class="chip"></div>
<div style="font-size: 18px; letter-spacing: 2px;">**** **** **** 5678</div>
<div style="display: flex; justify-content: space-between; align-items: center;">
<span style="font-size: 12px;">FAMOUSCODE.DEV</span>
<img class="visa" src="https://www.svgrepo.com/show/452059/mastercard.svg">
</div>
</div>
<div class="side back">
<div class="bar-black"></div>
<div class="bar-white">999</div>
</div>
</div>
</body>
</html>
Created by FAMOUSCODE.DEV | Level up your UI.
- Get link
- X
- Other Apps
Labels:
Credit Card
CSS 3D
Glassmorphism
Tutorials
UI Design
- Get link
- X
- Other Apps
