mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-28 14:44:15 +00:00
feat: like button animation
This commit is contained in:
parent
e17b3908ae
commit
a2ea5f6aec
2 changed files with 42 additions and 3 deletions
|
|
@ -1,5 +1,24 @@
|
|||
@import "tailwindcss";
|
||||
|
||||
@theme {
|
||||
--animate-like: like 0.5s ease;
|
||||
|
||||
@keyframes like {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
30% {
|
||||
transform: scale(1.25);
|
||||
}
|
||||
60% {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-amber-50;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue