fix(animation): more dramatic text scale on entrance
This commit is contained in:
@@ -756,17 +756,17 @@ kbd {
|
|||||||
@keyframes crispy-bounce {
|
@keyframes crispy-bounce {
|
||||||
0% {
|
0% {
|
||||||
top: 100%;
|
top: 100%;
|
||||||
transform: translateX(-50%) translateY(0) scale(0.5);
|
transform: translateX(-50%) translateY(0) scale(0.2);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
20% {
|
20% {
|
||||||
top: 45%;
|
top: 45%;
|
||||||
transform: translateX(-50%) translateY(-50%) scale(1.1);
|
transform: translateX(-50%) translateY(-50%) scale(1.4);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
28% {
|
28% {
|
||||||
top: 52%;
|
top: 52%;
|
||||||
transform: translateX(-50%) translateY(-50%) scale(0.95);
|
transform: translateX(-50%) translateY(-50%) scale(0.9);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
35% {
|
35% {
|
||||||
@@ -781,7 +781,7 @@ kbd {
|
|||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
top: 100%;
|
top: 100%;
|
||||||
transform: translateX(-50%) translateY(0) scale(0.5);
|
transform: translateX(-50%) translateY(0) scale(0.3);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user