Загрузка видео...
Не удалось загрузить видео
CSS Trick 🎞️ You can create an infinite marquee/carousel animation without duplicate items 🤙 li { --destination: calc(var(--idx) * -100%); } @keyframes slide { to { translate: var(--destination) 0;}} Animate the items, not the list 😎 Here's the next ! 👇 The main trick here is animating the items... show more
233,151 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 10

Here's that @CodePen link! 🎞️ Again. Tricky to cater to everyone's use case 😅 But the main point of this video was to try and communicate the technique/concept 🤙 Original demo was a little hard to decipher 🤔 Enjoy! 🎉

Hi again, Jhey! Have you released a CSS course or do you plan to do it? Have you ever wondered this idea? Because you have superb-rocket-space level background in CSS and you have qualities for pedagogy. Warmest regards.

Genuinely the plan 💯 Will start posting the newsletter again and create a video version of the CSS animation ebook I created in the past as a "Dip my toes in". Neat part here is I can keep the cost low and give it a refresh at the same time 🏆

looks great 😃

Thanks – Pity the audio is awful 😢 Need to get a good lavalier mic for traveling and recording 💯 There are so many options though 😂 @rodemics?

hey, how about pause on hover?

@Sam_Talkbot .container:is(:hover, :focus-within) li { animation-play-state: paused; }

This is awesome. Does this work for unequally sized items?
It might be a bit of an investment but I am very happy user of the Rode Wireless Pro. You can use them as USB wireless mic or just recorder (includes 2mics and lavs)

Thanks Konstantin 🙏 I figured @rodemics would be a good bet for this. I have the shotgun mic that attaches to my cam but it doesn't quite do the job for these. 2 would be handy as we're looking to pick up doing spaces again this week 🤙
