Add .heart class + keyframes

This commit is contained in:
billz 2024-10-24 02:16:12 -07:00
parent 3dbc83e635
commit 7ddf16da6a

View file

@ -291,3 +291,17 @@ button > i.fas {
border-bottom-right-radius: 0.35rem; border-bottom-right-radius: 0.35rem;
} }
@keyframes heart {
0%, 40%, 80%, 100% {
transform: scale(1);
}
20%, 60% {
transform: scale(1.15);
}
}
.heart {
color: #e63946;
animation: heart 1000ms infinite;
}