You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an SVG that I'm setting to blink multiple rectangles. Is is possible to keep them blinking in time with one another some how? They are blinking different colors. I can throw together a code sandbox when not on mobile.
Alternatively, can a single spring be used to blink both the elements their respective colors?
Edit: added codesandbox link Locally when I run this from within Docusaurus, the lights will get out of sync after a minute or two. I haven't seen it happen on code sandbox yet though.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have an SVG that I'm setting to blink multiple rectangles. Is is possible to keep them blinking in time with one another some how? They are blinking different colors. I can throw together a code sandbox when not on mobile.
Alternatively, can a single spring be used to blink both the elements their respective colors?
Edit: added codesandbox link Locally when I run this from within Docusaurus, the lights will get out of sync after a minute or two. I haven't seen it happen on code sandbox yet though.
Beta Was this translation helpful? Give feedback.
All reactions