Adjust hero neon scan timing and keyframes for a slower single sweep#49
Adjust hero neon scan timing and keyframes for a slower single sweep#49Gonza10V wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 28c5d8f838
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| 50% { | ||
| background-position: 120% 0; |
There was a problem hiding this comment.
Remove the midpoint reset that creates a second sweep
With the new 14.4s ... 1 animation, this 50% keyframe jumps background-position back to 120% immediately after the 49.99% stop set it to -120%, so the headline performs another full sweep from 50% to 100% instead of the intended single slow pass. This preserves the double-pass behavior in a slower form; for one sweep, the animation should progress only once across the full 0–100% duration.
Useful? React with 👍 / 👎.
Motivation
Description
.hero-neon-text--activeanimation from2.4s var(--ease-out) 2to14.4s linear 1to create one slow, linear pass.@keyframes hero-neon-scansequence to explicit percentage stops and adjustedbackground-positionvalues, and add distinct glow intervals to control the drop-shadow intensity.Testing
Codex Task