We can define easing curves for the transitions and animations on our websites to give them a more natural and subtle feel. But it’s not just animations that benefit from easing curves. Any time there is a transition between two states an easing curve will make that feel more natural and less harsh.
Re-Creating the Porky Pig Animation from Looney Tunes in CSS
Last December I wrote an article in Dutch for the Fronteers blog on a fun bit of CSS I wrote that use 3D transforms to create a cool looking effect: Porky Pig coming out of those red rings announcing the end of a Looney Tunes cartoon. At the time, I was creating a resource of 3D transforms examples so it was on my mind, and I decided to see if I could replicate that ‘coming out of the circles’ effect. Turns out I could!
After writing the Dutch article I reached out to CSS-Tricks to see if they would be interested in the English version of the article and they were! (It helped that it’s literally a CSS trick!).
So I rewrote the article in English and added a few sections (for example on Reduced motion and how we don’t actually need to remove all the animation, just reduce it.) and it’s now published.
You can read the full article over on CSS-Tricks here: Re-Creating the Porky Pig Animation from Looney Tunes in CSS, and see the end result below: