I want to edit my marquee text animation.It doesnt reply after it goes off screen it works after the

It works after the text is completely off screen
16 Replies
b1mind
b1mind2y ago
codepen or bust
Perpetuity
PerpetuityOP2y ago
I can send the code? If that works
b1mind
b1mind2y ago
codepen is best learn to use it or some repl
Perpetuity
PerpetuityOP2y ago
Idk if it will work over there
b1mind
b1mind2y ago
🤷‍♂️
Perpetuity
PerpetuityOP2y ago
As it's a big project linked Can I send the code here
b1mind
b1mind2y ago
minimize the issue to just the elements you need it might help but 🤷‍♂️ working examples = help us help you
Perpetuity
PerpetuityOP2y ago
Yeah I get your point
b1mind
b1mind2y ago
code is just something we have to read and reason about
Perpetuity
PerpetuityOP2y ago
But this is new to me I wanna fix this issue and its open source project
b1mind
b1mind2y ago
without context or working example its more work than many are willing to put in or even can honestly... you could leave out something that is the issue if you don't even know what the issue is
Perpetuity
PerpetuityOP2y ago
It doesnt run on codepen
b1mind
b1mind2y ago
When you recreate an issue in a minimal demo lots of times you figure it out yourself but also gives others away to debug.
Perpetuity
PerpetuityOP2y ago
Okay the issue is
Perpetuity
PerpetuityOP2y ago
I want the formatted text to come back as it goes off
Chris Bolson
Chris Bolson2y ago
I don't think that this is possible to do with a marquee - it waits until the text is fully out of view before starting again. You may have to create something with CSS I have thrown together a quick test of how it could be done with CSS. https://codepen.io/cbolson/pen/dygaBRL?editors=1100. This basically duplicates the text by using a data attribute and then displaying it in a pseudo element. The problem with my solution is that there are a few magic numbers in there. I have made them into custom properties so at least they are easy to adjust.
Want results from more Discord servers?
Add your server