Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

it's all about easing curves ⏱️ translation powered via CSS custom properties

64,278 görüntüleme • 1 yıl önce •via X (Twitter)

7 Yorum

jhey ▲🐻🎈 profil fotoğrafı
jhey ▲🐻🎈1 yıl önce

originally seen on Dropbox branding could not resist doing a solution for it with scoped CSS custom properties 🤌 translate: 0 calc(var(--pow) * -40%) /*--pow 0-1 */ generate --pow with an easing function based on distance to pointer

jhey ▲🐻🎈 profil fotoğrafı
jhey ▲🐻🎈1 yıl önce

here's the @CodePen so you can mess around with the pointer threshold, easing curves, etc. 🤙

Akool Inc profil fotoğrafı
Akool Inc1 yıl önce

🚨 Breaking News: The Trump family is making money moves—literally! 💸 Donald Trump just dropped his own cryptocurrency, the TRUMP Coin, and now Melania’s stepping in with her Melania Coin. 🪙💃 Is this the future of crypto or the ultimate political plot twist? 🤔 Whether you’re hodling or just LOLing, one thing’s for sure: these coins are yuge! 😂 🎥 P.S. All videos are created by Akool, the coolest Gen AI video platform! 🚀 Take your content to the next level with us! #Trump #Coin #Melania #CryptoPolitics #MakeCryptoGreatAgain #AltCoinEra #BlockchainBuzz #MadeWithAkool

Colton Batts profil fotoğrafı
Colton Batts1 yıl önce

easing and bezier makes all the difference. ✨

jeffscottworld (🛠️, 🤖, 🏡 ) profil fotoğrafı
jeffscottworld (🛠️, 🤖, 🏡 )1 yıl önce

Is there a way to handle N elements programmatically with animations? Or do you have to statically output that css before hand? Maybe inline in JSX can work?

jhey ▲🐻🎈 profil fotoğrafı
jhey ▲🐻🎈1 yıl önce

it does that part via an event listener on the parent so you can update the cards dynamically and it will work it out on the next move 🤙

Brandon McConnell profil fotoğrafı
Brandon McConnell1 yıl önce

snazzy! i’ve been meaning to get around to prototyping the same concept inspired by dropbox your creative touch on the transforms is so nice 👌🏼

Benzer Videolar