Video wird geladen...
Video konnte nicht geladen werden
CSS Tip! 🤙 You can create custom easings for your animations and transitions with linear() 🔥 :root { --bounce: linear(0, 0.39, 0.57, 0.52, ..., 1); } .digit { transition: translate 1s var(--bounce); } Perfect for adding character to animations like this MRR widget! 🫶 Some of the easing code... show more
574,647 Aufrufe • vor 2 Jahren •via X (Twitter)
10 Kommentare

Here's that @CodePen link! ⚡️ linear() support 💙 Chrome ✅ Firefox ✅ Safari ✅ Demo is pieced together with a smidge of @reactjs 🤏 Could totally clean it up to make the counter a reusable piece 💯

I did this in Figma, preview in Figma 👉

Just bookmarked this Because I will be using it soon Thanks for sharing Jhey

More than welcome! 🤙 Here's an article I wrote that goes a bit further into the subject and converting popular easing styles to this new format 😎

You are a

This looks amazing! Thank you. Not sure why bu the codepen doesnt work on my firefox but works fine on Chrome

Fixed! Thanks for raising this. It was my blanket application of 3D transform styles which I always forget can cause issues 🤦♂️😅

This is such a good combination of CSS and JS. I am already starting to have so many ideas on how to use this to build a classy UI.

Woahhh this is something I never know I needed! Thanks for sharing!

I like the demo, but why so many tabs?
