Video wird geladen...
Video konnte nicht geladen werden
CSS Tip! 🎠 You can create a responsive infinite marquee animation with container queries and no duplicate items 🤙 li{ animation: slide; } @keyframes slide { to { translate: 0% calc(var(--i) * -100%);}} The trick is animating the items, not the list 😎 More tricks 👇 To get this... show more
541,845 Aufrufe • vor 2 Jahren •via X (Twitter)
10 Kommentare

jhey ▲🐻🎈vor 2 Jahren
Here's that @CodePen link! 🚀 Should be good across the board 😎 Because now we have cross-browser compatibility for: – :has() ✅ – container queries ✅

Steven Teyvor 2 Jahren
I’ve never smashed the bookmark button so quickly in my entire life — thank you for sharing this!! 👏

jhey ▲🐻🎈vor 2 Jahren
Ha – You're welcome dude! 🤙 Love building out things like this, so thank you 🙏 Came at a good time because I need the technique for a lil landing page 🙌

Steven Teyvor 2 Jahren
🤯🐐

jhey ▲🐻🎈vor 2 Jahren
Haha 😂

Malthe Hartmannvor 2 Jahren
@elonmusk we need a better way to share code on @X

jhey ▲🐻🎈vor 2 Jahren
@elonmusk @X 💯😅

Delalivor 2 Jahren
@blueaelixir

Helge Ahrensvor 2 Jahren
Where is the pen though?

jhey ▲🐻🎈vor 2 Jahren
Sorry 🤦♂️ Did my classic. It's there now 🙏 If ever it isn't posted. It should be the most recent pen on my CodePen profile 🫶
