Skip to content

Commit 1751418

Browse files
p4gsclaudehappy-otter
committed
Per-letter sequential lava lamp shadow effect on title
Wrap each letter in individual spans with CSS custom property --i for staggered animation delay. The lava color flows from orange to blue across letters sequentially, like a single lava lamp wave. Title font enlarged to 7.5rem max. FINDER now included in effect. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
1 parent 28a1bbe commit 1751418

1 file changed

Lines changed: 14 additions & 22 deletions

File tree

docs/projects/nthpartyfinder/index.html

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180

181181
.hero-title {
182182
font-family: var(--font-display);
183-
font-size: clamp(3.2rem, 9vw, 6.5rem);
183+
font-size: clamp(3.8rem, 10vw, 7.5rem);
184184
font-weight: 900;
185185
letter-spacing: 6px;
186186
text-transform: uppercase;
@@ -190,27 +190,18 @@
190190
position: relative;
191191
z-index: 1;
192192
}
193-
@keyframes lava-shadow {
194-
0% { text-shadow: 3px 3px 0 #FFA84F, -2px 2px 0 #1B95C1; }
195-
15% { text-shadow: 3px 3px 0 #ffb86a, -2px 2px 0 #1da8d6; }
196-
30% { text-shadow: 3px 3px 0 #1B95C1, -2px 2px 0 #FFA84F; }
197-
45% { text-shadow: 3px 3px 0 #1da8d6, -2px 2px 0 #ffb86a; }
198-
60% { text-shadow: 3px 3px 0 #2bb5e0, -2px 2px 0 #ff9a35; }
199-
75% { text-shadow: 3px 3px 0 #FFA84F, -2px 2px 0 #2bb5e0; }
200-
100% { text-shadow: 3px 3px 0 #FFA84F, -2px 2px 0 #1B95C1; }
201-
}
202-
.hero-title .neon-word {
203-
-webkit-text-fill-color: #fff;
204-
color: #fff;
205-
background: none;
206-
-webkit-background-clip: unset;
207-
background-clip: unset;
208-
animation: lava-shadow 6s ease-in-out infinite;
209-
filter: none;
193+
@keyframes lava-letter {
194+
0% { text-shadow: 3px 3px 0 #FFA84F; }
195+
25% { text-shadow: 3px 3px 0 #e8a44a; }
196+
50% { text-shadow: 3px 3px 0 #1B95C1; }
197+
75% { text-shadow: 3px 3px 0 #3aadd4; }
198+
100% { text-shadow: 3px 3px 0 #FFA84F; }
210199
}
211-
.hero-title span:not(.neon-word) {
212-
animation: lava-shadow 6s ease-in-out infinite;
213-
animation-delay: -3s;
200+
.lava-text { display: inline; }
201+
.lava-letter {
202+
display: inline-block;
203+
animation: lava-letter 4s ease-in-out infinite;
204+
animation-delay: calc(var(--i) * -0.35s);
214205
}
215206

216207
.hero-tagline {
@@ -624,7 +615,8 @@
624615
<div class="container">
625616
<div class="hero-eyebrow"><span class="dot"></span> GRC Engineering Open Source</div>
626617
<h1 class="hero-title">
627-
<span class="neon-word">Nth Party</span><br>Finder
618+
<span class="lava-text"><span class="lava-letter" style="--i:0">N</span><span class="lava-letter" style="--i:1">t</span><span class="lava-letter" style="--i:2">h</span><span class="lava-letter" style="--i:3">&nbsp;</span><span class="lava-letter" style="--i:4">P</span><span class="lava-letter" style="--i:5">a</span><span class="lava-letter" style="--i:6">r</span><span class="lava-letter" style="--i:7">t</span><span class="lava-letter" style="--i:8">y</span></span><br>
619+
<span class="lava-text"><span class="lava-letter" style="--i:9">F</span><span class="lava-letter" style="--i:10">i</span><span class="lava-letter" style="--i:11">n</span><span class="lava-letter" style="--i:12">d</span><span class="lava-letter" style="--i:13">e</span><span class="lava-letter" style="--i:14">r</span></span>
628620
</h1>
629621
<p class="hero-tagline">Every party has an Nth degree</p>
630622
<p class="hero-desc">

0 commit comments

Comments
 (0)