CSS
.card-06__tag {
font-family: monospace;
font-size: 10px;
padding: 2px 8px;
border-radius: 20px;
background: rgba(124, 108, 255, 0.15);
color: #7c6cff;
border: 1px solid rgba(124, 108, 255, 0.3);
display: inline-block;
margin-bottom: 10px;
}
.card-06__title {
font-size: 17px;
font-weight: 700;
color: #f0eeff;
margin-bottom: 6px;
}
.card-06__body {
font-size: 13px;
color: #b8b6d4;
line-height: 1.6;
}
.card-06 {
width: 100%;
max-width: 280px;
position: relative;
overflow: hidden;
padding: 22px;
border-radius: 14px;
background: #17171f;
border: 1px solid rgba(255, 255, 255, 0.08);
cursor: pointer;
transition: box-shadow 0.3s;
}
.card-06:hover {
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.card-06__peel {
position: absolute;
bottom: 0;
right: 0;
width: 0;
height: 0;
background: linear-gradient(225deg, #7c6cff 45%, rgba(124, 108, 255, 0.08) 45%);
transition:
width 0.38s cubic-bezier(0.23, 1, 0.32, 1),
height 0.38s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-06:hover .card-06__peel {
width: 72px;
height: 72px;
}