Загрузка видео...
Не удалось загрузить видео
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 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 10

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

Steven Tey2 лет назад
I’ve never smashed the bookmark button so quickly in my entire life — thank you for sharing this!! 👏

jhey ▲🐻🎈2 лет назад
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 Tey2 лет назад
🤯🐐

jhey ▲🐻🎈2 лет назад
Haha 😂

Malthe Hartmann2 лет назад
@elonmusk we need a better way to share code on @X

jhey ▲🐻🎈2 лет назад
@elonmusk @X 💯😅

Delali2 лет назад
@blueaelixir

Helge Ahrens2 лет назад
Where is the pen though?

jhey ▲🐻🎈2 лет назад
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 🫶
