Skip to content

Commit b0e8fcd

Browse files
p4gsclaudehappy-otter
committed
Switch glow to text-stroke border approach instead of scaled overlay
Uses -webkit-text-stroke on ::before pseudo-element with paint-order so the reverse-flow gradient only appears as an outline around each letter, not covering the text fill. 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 e213cce commit b0e8fcd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/projects/nthpartyfinder/index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,11 @@
195195
.lava-letter {
196196
display: inline-block;
197197
position: relative;
198-
z-index: 1;
199198
background: linear-gradient(90deg, #FFA84F, #e8a44a, #1B95C1, #3aadd4, #FFA84F);
200199
background-size: 300% 100%;
201200
-webkit-background-clip: text;
202201
background-clip: text;
203202
-webkit-text-fill-color: transparent;
204-
-webkit-text-stroke: 1px transparent;
205203
animation: lava-flow 8s ease-in-out infinite, neon-flicker 4s infinite;
206204
animation-delay: calc(var(--i) * -0.6s), 0s;
207205
}
@@ -210,16 +208,16 @@
210208
position: absolute;
211209
top: 0;
212210
left: 0;
213-
z-index: -2;
211+
z-index: -1;
214212
background: linear-gradient(90deg, #FFA84F, #e8a44a, #1B95C1, #3aadd4, #FFA84F);
215213
background-size: 300% 100%;
216214
-webkit-background-clip: text;
217215
background-clip: text;
218216
-webkit-text-fill-color: transparent;
217+
-webkit-text-stroke: 4px transparent;
218+
paint-order: stroke fill;
219219
animation: lava-flow-reverse 8s ease-in-out infinite;
220220
animation-delay: calc(var(--i) * -0.6s);
221-
transform: scale(1.01);
222-
filter: blur(1px);
223221
}
224222

225223
.hero-tagline {

0 commit comments

Comments
 (0)