正在加载视频...
视频加载失败
Future CSS Tip! 🍏 You can combine scroll-driven animations with background-clip to create gradient text reveals 😍 p { animation-name: move-bg, fade-in; animation-fill-mode: both; animation-timing-function: linear; animation-timeline: scroll(root); animation-range: 0 100vh, 40vh 100vh; } /* Multiple animations with shared timeline and different ranges 👀 */ keyframes move-bg { to... show more
180,112 次观看 • 2 年前 •via X (Twitter)
32 条评论

Here's that @CodePen link! 🤙 Remember you need to be in Chrome 115+ to see this working ✨ Got a cool one for ya tomorrow! Now gonna go celebrate with my new wife 😍

Sign up & create wholesome anime art on Moescape AI now!

You should create an index of all of your creations, tagged, with easy searchability features. Unless you already have ;)

Kinda got something in the works for this. It would be cool if there was some kind of @CodePen API. I'd love to be able to say "Grab all pens from jh3yy with the tag for-blog" or something 🙏 I have been adding the "popular" posts to my "Highlights" tab as I go but need to remember to do it. Also, got articles coming on some of these that have been shared recently! ✍️

Hi jhey! This looks amazing! Would it be alright for me to try and put this implementation into a package/ library that can be easily imported and customized? I'll include credit of course.

Hey Brian 🤙 That sounds cool. How would you see that working? I do have a little thing that I've been piecing together that leans into custom properties. But, as it's wedding week I haven't had as much time as usual 😅 I'm merely here to share my thought process and ideas. If that inspires you to try something out or make something, that's awesome 🙏

I’m thankful for you man. I’ve been looking for a good explanation on how to achieve this effect. 🔥

You're more than welcome Ed! 🙏 I'm always open to requests as well 🤙 This is a nice effect. Think there's likely some other ways to approach it too ✨

@oleg008 I love scroll timelines but this particular animation can be achieved with masking and sticky position without needing scroll timelines!

@oleg008 Your demo isn't working in Chrome as a heads up

oh that is nice !!!

Apple jus' keep giving us scroll designs 😅

One of my favorite GIFs, hands down 💯😅

wow that’s incredible! 2023 is surely the year of css. Cannot wait for mainstream support

@fredoiq Right?! Definitely a game changer API 💯

Does it works with current major version of Chrome, FF, or Safari? Or just an experiment mode in Canary?

Stable Chrome since 115 🤙

Dude, you’re killing it, amazing! 👏👏👏

Doing what I can to share my thought process 🙏 Thanks Danny! 🤙

👋🏻 You are all hereby invited to 🎁 build better with ↓ ⚡️ see your changes in real-time ⌨️ adjust numbers with ↑↓ keys ⋯ no waits/no reloads Swap codepen .io /⋯/pen/⋯ with ↓

this is sick 🔥

Almost Inter Miami colors 👀😅 Thanks Michelle 🙏

Please, I just wanna read the info 😭. I don't wanna play a maze game.

Tell Apple Jason 😅

The irony of imitating Apple's design to work only on Chrome. Welcome to the era of neo-Internet Explorer where you need to download a specific browser to have the website display correctly.

It's an official CSSWG spec, it'll be in Safari sooner or later 🤙

@SaveToNotion

Wicked cool

At this point we need a course on how you make these CSS based scroll animations. 🙏

Hello, How would this be done with JS (react). Do you have an example?

@uxlinks @SaveToNotion

I might use this, looks awesome.
