mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 19:36:04 +00:00
feat(skills): slower card lift and fade, 1.6s total animation
Scale 1→1.06 over first 45%, then 1.06→1.08 while fading out over remaining 55%. Phase 2 triggers at 900ms mid-fade. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
36c7440003
commit
e912936f20
@@ -167,12 +167,12 @@ body {
|
||||
.card.selected-exit {
|
||||
position: relative;
|
||||
z-index: 201;
|
||||
animation: cardLift 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
|
||||
animation: cardLift 1.6s cubic-bezier(0.16,1,0.3,1) forwards;
|
||||
}
|
||||
@keyframes cardLift {
|
||||
0% { transform: scale(1); opacity: 1; }
|
||||
50% { transform: scale(1.06); opacity: 1; }
|
||||
100% { transform: scale(1.06); opacity: 0; }
|
||||
45% { transform: scale(1.06); opacity: 1; }
|
||||
100% { transform: scale(1.08); opacity: 0; }
|
||||
}
|
||||
.loading-msg {
|
||||
position: fixed;
|
||||
@@ -595,7 +595,7 @@ function selectTemplate(slug) {
|
||||
sessionStorage.setItem("templatePick", JSON.stringify(msg));
|
||||
window.location = "pick-design.html";
|
||||
}
|
||||
}, 500);
|
||||
}, 900);
|
||||
}
|
||||
|
||||
buildPalChips();
|
||||
|
||||
Reference in New Issue
Block a user