Add HyperFrames skills
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011h6NB8JQtfPc6eRCefEzBB
This commit is contained in:
964 files changed
+142321
No files matched your search
@@ -0,0 +1,68 @@
|
||||
<template id="chrome-sweep-template">
|
||||
<div data-composition-id="chrome-sweep" data-width="1920" data-height="1080" data-duration="2">
|
||||
<style>
|
||||
:root {
|
||||
--hg-violet: #7c3aed;
|
||||
--hg-violet-2: #a855f7;
|
||||
--hg-bg: #0a0a0f;
|
||||
--hg-fg: #f5f5fa;
|
||||
--hg-dim: #6b6b78;
|
||||
}
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.stage {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.chrome {
|
||||
font-weight: 900;
|
||||
font-size: 280px;
|
||||
letter-spacing: -0.04em;
|
||||
background: linear-gradient(
|
||||
110deg,
|
||||
#404048 0%,
|
||||
#b4b4be 20%,
|
||||
#ffffff 45%,
|
||||
#ffffff 50%,
|
||||
#d8d8e0 60%,
|
||||
#5a5a64 85%,
|
||||
#ffffff 100%
|
||||
);
|
||||
background-size: 250% 100%;
|
||||
background-position: 200% 0;
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
color: transparent;
|
||||
will-change: background-position;
|
||||
filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.4));
|
||||
}
|
||||
</style>
|
||||
<div class="stage"><div class="chrome">CHROME</div></div>
|
||||
<script>
|
||||
window.__timelines = window.__timelines || {};
|
||||
const tl = gsap.timeline({ paused: true });
|
||||
|
||||
tl.fromTo(
|
||||
".chrome",
|
||||
{ opacity: 0, scale: 0.96 },
|
||||
{ opacity: 1, scale: 1, duration: 0.3, ease: "power3.out" },
|
||||
0.2,
|
||||
);
|
||||
tl.fromTo(
|
||||
".chrome",
|
||||
{ backgroundPosition: "200% 0" },
|
||||
{ backgroundPosition: "-100% 0", duration: 1.4, ease: "power2.inOut" },
|
||||
0.3,
|
||||
);
|
||||
|
||||
window.__timelines["chrome-sweep"] = tl;
|
||||
</script>
|
||||
</div>
|
||||
</template>
|
||||
Reference in new issue
Block a user