jhey β–²πŸ»πŸŽˆ (@jh3yy) 's Twitter Profile
jhey β–²πŸ»πŸŽˆ

@jh3yy

⚑️ Showing you how to bring ideas to life with code
πŸ’Ό Senior DX Engineer at @vercel
🫑 Prev: @google
🐻 cubhouse.jhey.dev
πŸ“Ί twitch.tv/jh3yy
❀ @seaotta

ID: 2396811776

linkhttp://jhey.dev/links calendar_today18-03-2014 21:45:40

40,40K Tweet

111,111K Followers

150 Following

jhey β–²πŸ»πŸŽˆ (@jh3yy) 's Twitter Profile Photo

CSS blurred text reveal on scroll πŸ“œ .character { animation: drop; animation-timeline: --section; animation-range: var(--start) var(--end); } @​keyframes drop { 0% { filter: blur(10px); translate: 0 -75%; } } Inspo: daylight

jhey β–²πŸ»πŸŽˆ (@jh3yy) 's Twitter Profile Photo

CSS scroll to unblur text ✨ .word { --start: calc(var(--i) * var(--pxPerWord)); --end: calc((var(--i) + 1) * var(--pxPerWord)); animation: fx; animation-timeline: --section; animation-range: var(--start) var(--end); } @​keyframes fx { 0% { filter: blur(20px); opacity: 0; }}

jhey β–²πŸ»πŸŽˆ (@jh3yy) 's Twitter Profile Photo

If we go ahead and create a proper UI animation course, what are the demos/examples you want to see being taught? What's important to you? Built 1000s of demos but can't record them all...

jhey β–²πŸ»πŸŽˆ (@jh3yy) 's Twitter Profile Photo

And you could do the whole thing without JavaScript πŸ€™ β€’ Use the HTML [popover] API (nested) β€’ CSS starting-style to transition open/close ⭐️ β€’ Anchor positioning βš“οΈ <button popovertarget="menu"></button> <div popover="auto" id="menu"></div>

jhey β–²πŸ»πŸŽˆ (@jh3yy) 's Twitter Profile Photo

The tricks ✨ - Animate the custom property - Translate a word track using that property - Transition the translate - Use aria-hidden on the animated heading - Visually hide headings under the content sections

jhey β–²πŸ»πŸŽˆ (@jh3yy) 's Twitter Profile Photo

Only left that part in to emphasize that the text isn't being rendered on the <canvas> πŸ€™ Can remove that with user-select if we need to πŸš€

jhey β–²πŸ»πŸŽˆ (@jh3yy) 's Twitter Profile Photo

this isn't finished btw πŸ€™ left the text selection in there to prove the text wasn't rendered to canvas jus' gotta sort out resizing and turn the blocks into randomly sized logos 😎 then I'll do a video for the 'tube 🎬