Video wird geladen...
Video konnte nicht geladen werden
The CSS trick here is using custom properties to drive your CSS animation behavior 🤙 Doesn't have to be a scroll animation li:nth-of-type(odd) { --x: -4ch; } li:nth-of-type(even) { --x: 4ch; } @keyframes shift {50% { translate: var(--x) 0; }} Updates at runtime 🚀
239,989 Aufrufe • vor 2 Jahren •via X (Twitter)
3 Kommentare

ComputerGoBrrvor 2 Jahren
You are a black magic-peddling magician

Arc Terminusvor 2 Jahren
You are a CSS god. 🫡

Jorge Galarzavor 2 Jahren
That's a lot of opened tabs
