1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

like animation

This commit is contained in:
Fedor Katurov 2019-10-23 11:19:24 +07:00
parent f169de370a
commit 34e449dd15
4 changed files with 50 additions and 4 deletions

View file

@ -124,3 +124,39 @@
.sep {
}
@keyframes pulse {
0% {
transform: scale(1);
}
45% {
transform: scale(1);
}
60% {
transform: scale(1.25);
}
75% {
transform: scale(1);
}
90% {
transform: scale(1.25);
}
100% {
transform: scale(1);
}
}
.like {
transition: fill, stroke 0.25s;
will-change: transform;
&:hover {
fill: $red;
animation: pulse 0.75s infinite;
}
}