galaxy/Cards/joe-watson-sbf_honest-bullfrog-6.html

96 lines
No EOL
1.7 KiB
HTML

<div class="container">
<div class="box">
<span class="title">GLASS EFFECT</span>
<div>
<strong>JOE WATSON SBF</strong>
<p>0000 000 000 0000</p>
<span>VALID</span> <span>01/28</span>
</div>
</div>
</div>
<style>
/* From Uiverse.io by joe-watson-sbf - Tags: glassmorphism, animation, card, hover, card template, cardhover , card animation, card hover */
.container {
color: white;
position: relative;
font-family: sans-serif;
}
.container::before,
.container::after {
content: "";
background-color: #fab5704c;
position: absolute;
}
.container::before {
border-radius: 50%;
width: 6rem;
height: 6rem;
top: 30%;
right: 7%;
}
.container::after {
content: "";
position: absolute;
height: 3rem;
top: 8%;
right: 5%;
border: 1px solid;
}
.container .box {
width: 11.875em;
height: 15.875em;
padding: 1rem;
background-color: rgba(255, 255, 255, 0.074);
border: 1px solid rgba(255, 255, 255, 0.222);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
border-radius: 0.7rem;
transition: all ease 0.3s;
}
.container .box {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.container .box .title {
font-size: 2rem;
font-weight: 500;
letter-spacing: 0.1em;
}
.container .box div strong {
display: block;
margin-bottom: 0.5rem;
}
.container .box div p {
margin: 0;
font-size: 0.9em;
font-weight: 300;
letter-spacing: 0.1em;
}
.container .box div span {
font-size: 0.7rem;
font-weight: 300;
}
.container .box div span:nth-child(3) {
font-weight: 500;
margin-right: 0.2rem;
}
.container .box:hover {
box-shadow: 0px 0px 20px 1px #ffbb763f;
border: 1px solid rgba(255, 255, 255, 0.454);
}
</style>