mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
83 lines
3 KiB
HTML
83 lines
3 KiB
HTML
|
|
<div class="container">
|
|
<div class="card">
|
|
<span class="logo"><svg viewBox="0 0 256 83" height="83" width="256" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient y2="100%" y1="-2.006%" x2="54.877%" x1="45.974%" id="logosVisa0"><stop stop-color="#222357" offset="0%"></stop><stop stop-color="#254AA5" offset="100%"></stop></linearGradient></defs><path transform="matrix(1 0 0 -1 0 82.668)" d="M132.397 56.24c-.146-11.516 10.263-17.942 18.104-21.763c8.056-3.92 10.762-6.434 10.73-9.94c-.06-5.365-6.426-7.733-12.383-7.825c-10.393-.161-16.436 2.806-21.24 5.05l-3.744-17.519c4.82-2.221 13.745-4.158 23-4.243c21.725 0 35.938 10.724 36.015 27.351c.085 21.102-29.188 22.27-28.988 31.702c.069 2.86 2.798 5.912 8.778 6.688c2.96.392 11.131.692 20.395-3.574l3.636 16.95c-4.982 1.814-11.385 3.551-19.357 3.551c-20.448 0-34.83-10.87-34.946-26.428m89.241 24.968c-3.967 0-7.31-2.314-8.802-5.865L181.803 1.245h21.709l4.32 11.939h26.528l2.506-11.939H256l-16.697 79.963h-17.665m3.037-21.601l6.265-30.027h-17.158l10.893 30.027m-118.599 21.6L88.964 1.246h20.687l17.104 79.963h-20.679m-30.603 0L53.941 26.782l-8.71 46.277c-1.022 5.166-5.058 8.149-9.54 8.149H.493L0 78.886c7.226-1.568 15.436-4.097 20.41-6.803c3.044-1.653 3.912-3.098 4.912-7.026L41.819 1.245H63.68l33.516 79.963H75.473" fill="url(#logosVisa0)"></path></svg></span>
|
|
<span class="remove"><svg viewBox="0 0 16 16" class="bi bi-trash-fill" fill="currentColor" height="16" width="16" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5 1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1H3v9a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V4h.5a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1H2.5zm3 4a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 .5-.5zM8 5a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7A.5.5 0 0 1 8 5zm3 .5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 1 0z"></path> </svg></span>
|
|
|
|
<span class="number">**** **** **** 1320</span>
|
|
<span class="owner">Jhon D.</span>
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
/* From Uiverse.io by Pradeepsaranbishnoi - Tags: card, debitcard, payment card */
|
|
.logo svg {
|
|
height: 48px;
|
|
width: 54px;
|
|
}
|
|
|
|
::selection {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
.container {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.card {
|
|
background: radial-gradient(circle, white 0%, #d5d5d5 100%);
|
|
width: 300px;
|
|
height: 200px;
|
|
border-radius: 20px;
|
|
position: relative;
|
|
box-shadow: 3px 3px 17px 0px rgba(0, 0, 0, 0.55);
|
|
}
|
|
|
|
.card .remove, .card .logo {
|
|
position: absolute;
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.card .remove {
|
|
top: 30px;
|
|
right: 30px;
|
|
opacity: .9;
|
|
color: black;
|
|
}
|
|
|
|
.card .remove:hover {
|
|
color: #f06b5d;
|
|
}
|
|
|
|
.card .logo {
|
|
top: 20px;
|
|
left: 30px;
|
|
font-size: 3em;
|
|
opacity: 1;
|
|
}
|
|
|
|
.card .number, .card .owner {
|
|
display: block;
|
|
position: absolute;
|
|
left: 30px;
|
|
cursor: default;
|
|
color: black;
|
|
opacity: .9;
|
|
transition: color .7s ease-out;
|
|
}
|
|
|
|
.card .number {
|
|
bottom: 60px;
|
|
letter-spacing: 4px;
|
|
}
|
|
|
|
.card .owner {
|
|
bottom: 30px;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
</style>
|