.card {
inline-size: min(100% - 2rem, 400px);
padding: 16px;
+ border-radius: 12px;
+ border: 1px solid hsl(0deg 0% 70%);
}
.card-content.rainbow-border {
}
.card.rainbow-border {
- border-radius: 12px;
- border: 1px solid hsl(0deg 0% 70%);
position: relative;
transition: border-color 1400ms;
}
}
.card.rainbow-gradient {
- border-radius: 12px;
- border: 1px solid hsl(0deg 0% 70%);
background: hsl(216deg 40% 95% / 0.5);
transition: border-color 700ms, background-color 2000ms;
position: relative;
.card.hover-detail {
block-size: 148px;
background: hsl(0deg 0% 98%);
- border: 1px solid hsl(0deg 0% 70%);
- border-radius: 12px;
position: relative;
transition: filter 800ms;
}
.card.hover-grow {
margin-block: 8px;
- border: 1px solid hsl(0deg 0% 70%);
- border-radius: 12px;
will-change: transform;
transition: scale 400ms;
}
.card.text-focus {
margin-block: 8px;
- border: 1px solid hsl(0deg 0% 70%);
- border-radius: 12px;
}
.text-focus p {
.card.big-box-shadow {
margin-block: 8px;
- border: 1px solid hsl(0deg 0% 70%);
- border-radius: 12px;
transition: padding 400ms, border 400ms, box-shadow 400ms;
}