Kilian Valkhof

Building tools that make developers awesome.

Re-Creating the Porky Pig Animation from Looney Tunes in CSS

CSS & HTML, 28 January 2021, < 1

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:

See the Pen
Pure CSS "That’s all folks" effect
by Kilian Valkhof (@Kilian)
on CodePen.

Polypane browser for responsive web development and design Hi, I'm Kilian. I make Polypane, the browser for responsive web development and design. If you're reading this site, that's probably interesting to you. Try it out!