Загрузка видео...
Не удалось загрузить видео
CSS Tip! 📜 You could create a sticky popout bento effect with position: sticky and scroll-driven animation 🤩 The trick is to use position: sticky with bottom instead of top like we would usually 🤙 Then we can use scroll-driven animation as a progressive enhancement to fade things and... show more
341,765 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 10

Here's that @CodePen link! 🚀 Check it out in Chrome for the full effect 🤙 You will still get the sticky popout effect in any browser though as a fallback ✨

✨ New ✨ to the content stream! Got a @remarkablepaper so can share any scribbles/notes from creating stuff etc. 🤩

Did you forget to paste @CodePen link? Don't worry @Aarzoo75 is no more on X to steal 😂

@CodePen @Aarzoo75 Hahahaha 👏😂

Pretty cool. Scale and transform are a bit jaggy/steppy though, wonder there's a way to make them smoother?

Partly the nature of the API unfortunately 😔 There is no ease to the scroll. Naturally it feels a little better on a trackpad though 😅

React devs can also check out react-scroll-parallax to recreate this effect!

this is so cool! loved it

I like it a lot more when you give hands on examples of things you can do here and now rather then future css tips!

man this is so sick!
