galaxy/Cards/Smit-Prajapati_moody-rat-79.html

183 lines
5.7 KiB
HTML

<div class="card">
<div class="logo"><svg class="svg" viewBox="0 0 94 94" xmlns="http://www.w3.org/2000/svg">
<path d="M38.0481 4.82927C38.0481 2.16214 40.018 0 42.4481 0H51.2391C53.6692 0 55.6391 2.16214 55.6391 4.82927V40.1401C55.6391 48.8912 53.2343 55.6657 48.4248 60.4636C43.6153 65.2277 36.7304 67.6098 27.7701 67.6098C18.8099 67.6098 11.925 65.2953 7.11548 60.6663C2.37183 56.0036 3.8147e-06 49.2967 3.8147e-06 40.5456V4.82927C3.8147e-06 2.16213 1.96995 0 4.4 0H13.2405C15.6705 0 17.6405 2.16214 17.6405 4.82927V39.1265C17.6405 43.7892 18.4805 47.2018 20.1605 49.3642C21.8735 51.5267 24.4759 52.6079 27.9678 52.6079C31.4596 52.6079 34.0127 51.5436 35.6268 49.4149C37.241 47.2863 38.0481 43.8399 38.0481 39.0758V4.82927Z">
</path>
<path d="M86.9 61.8682C86.9 64.5353 84.9301 66.6975 82.5 66.6975H73.6595C71.2295 66.6975 69.2595 64.5353 69.2595 61.8682V4.82927C69.2595 2.16214 71.2295 0 73.6595 0H82.5C84.9301 0 86.9 2.16214 86.9 4.82927V61.8682Z">
</path>
<path d="M2.86102e-06 83.2195C2.86102e-06 80.5524 1.96995 78.3902 4.4 78.3902H83.6C86.0301 78.3902 88 80.5524 88 83.2195V89.1707C88 91.8379 86.0301 94 83.6 94H4.4C1.96995 94 0 91.8379 0 89.1707L2.86102e-06 83.2195Z">
</path>
</svg>
</div>
<div class="title">Main Title</div>
<div class="icons-container">
<svg stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" viewBox="0 0 24 24" height="24" width="24" xmlns="http://www.w3.org/2000/svg" class="svg">
<rect ry="5" rx="5" y="2" x="2" height="20" width="20"></rect>
<path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path>
<line y2="6.5" y1="6.5" x2="17.51" x1="17.5"></line>
</svg>
<svg viewBox="0 0 512 512" width="24" height="24" xmlns="http://www.w3.org/2000/svg" class="svg twitter">
<path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"></path>
</svg>
<svg stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" viewBox="0 0 24 24" height="24" width="24" xmlns="http://www.w3.org/2000/svg" class="svg">
<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"></path>
<path d="M9 18c-4.51 2-5-2-7-2"></path>
</svg>
</div>
<div class="box box3">
<div class="content">
<span class="box-title">Title 1</span>
<span class="box-text">Lorem ipsum dolor sit amet consectetur adipisicing elit. Delectus, facere.
</span>
</div>
</div>
<div class="box box2">
<div class="content">
<span class="box-title">Title 2</span>
<span class="box-text">Lorem, ipsum dolor sit amet consectetur adipisicing elit. Et hic praesentium
nobis cumque, dolores adipisci?
</span>
</div>
</div>
<div class="box box1">
<div class="content">
<span class="box-title">Title 3</span>
<span class="box-text">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ea, facilis!
</span>
</div>
</div>
</div>
<style>
/* From Uiverse.io by Smit-Prajapati - Tags: card, cool card, card animation, card hover, simple cards, card design */
.card {
position: relative;
width: 230px;
height: 300px;
background: linear-gradient(-45deg, rgb(0, 153, 255) 0%, cyan 100%);
overflow: hidden;
border: 1px solid black;
box-shadow: rgba(141, 177, 205, 0.618) 0px 40px 30px -25px;
transition: all 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.card:hover {
transform: scale(1.08);
box-shadow: rgba(141, 177, 205, 0.618) 0px 30px 30px -25px;
}
.icons-container {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
display: flex;
justify-content: space-between;
padding: 1rem;
z-index: 999;
}
.icons-container .svg {
stroke: white;
width: 20px;
transition: transform 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.icons-container .svg:hover {
transform: scale(1.5);
stroke: black;
}
.icons-container .twitter {
fill: white;
}
.icons-container .twitter:hover {
fill: black;
stroke: none;
}
.logo {
width: 50px;
padding: 1rem;
}
.logo .svg {
fill: white;
}
.title {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
color: White;
font-weight: bold;
font-size: 1.1rem;
}
.box {
position: absolute;
width: 100%;
height: 100%;
box-shadow: rgba(66, 66, 66, 0.349) 5px 0px 10px 0px inset;
transition: all 0.5s ease-in-out;
display: grid;
place-content: center;
padding: 2rem 2rem 3rem 2rem;
border: 1px solid black;
}
.box .content {
position: relative;
transform: translateY(-100%);
opacity: 0;
transition: all 0.5s ease-in-out 0.3s;
}
.box .content .box-title {
display: block;
color: white;
font-size: 1.2rem;
font-weight: bold;
margin-bottom: 1rem;
}
.box .content .box-text {
color: rgba(255, 255, 255, 0.738);
font-size: 0.8rem;
}
.box:hover {
right: 0;
top: 0;
border-radius: 0;
border: 1px solid transparent;
box-shadow: rgba(66, 66, 66, 0) 5px 0px 10px 0px inset;
}
.box:hover .content {
transform: translate(0, 0);
opacity: 1;
}
.box1 {
top: -85%;
right: -40%;
background: rgb(255, 112, 60);
border-radius: 200px;
}
.box2 {
top: -70%;
right: -45%;
background: rgb(255, 174, 0);
border-radius: 200px;
}
.box3 {
top: -62%;
right: -30%;
background: rgb(255, 194, 52);
border-radius: 200px;
}
</style>