Fun stuff

This commit is contained in:
Lim Chee Aun 2023-01-27 11:47:37 +08:00
parent e83d128f62
commit 7785e29f0d

View file

@ -918,6 +918,18 @@ meter.donut:is(.danger, .explode):after {
flex-wrap: wrap; flex-wrap: wrap;
gap: 4px; gap: 4px;
} }
/* I'm just feeling bored, so having fun here */
@media (hover: hover) {
.avatars-stack > * {
transition: transform 0.3s ease-in-out;
}
.avatars-stack:hover > *:nth-of-type(odd) {
transform: rotate(15deg);
}
.avatars-stack:hover > *:nth-of-type(even) {
transform: rotate(-15deg);
}
}
.deck-container { .deck-container {
width: 100%; width: 100%;