The Al Jaffee / Mad Magazine Fold-In Effect in CSS

  • This is fun, thanks for making that! There's a treasure trove of Al Jaffee's work that can be shared with future generations.

    Al Jaffee just retired at 99! Here's article on his retirement, which is also linked to from the original site: https://www.washingtonpost.com/arts-entertainment/2020/06/06...

  • how the fold in came to be an every issue feature is kinda a fun story:

    From his 95th birthday article (gothamist). It has a nice video too:

    https://gothamist.com/arts-entertainment/hanging-with-al-jaf...

    "One morning I woke up and I spread out all the magazines I was subscribing to which included Playboy, and National Geographic and a couple of others. When I opened them up, the things that popped out was the first one, Playboy, was the fold-out; and then National Geographic had something that showed the new stadium being built by some athletic team. Then there was another one with a fold-out. Of course, the way we work is something triggers a thought, and what triggered in me was if all of them are doing expensive, full color fold-outs, why doesn't MAD Magazine do a cheap fold-in? MAD was black and white at that time.

    I thought about it for a moment, and then I looked in the newspaper and there was a story about Elizabeth Taylor and Richard Burton and Eddie Fischer and accusations that Elizabeth Taylor was going from one guy to another. I thought, "Well, that might make a fold-in. I did something very simple, which was to put Elizabeth Taylor on the left side, and Richard Burton was somewhere in the middle, but on the right side, there was just some young guy. The question was something like, "Who's going to be Elizabeth Taylor's next?" We thought it would be Richard Burton, but if you folded it in, it was just that guy on the right side, and it says, "some guy in the crowd." That was the gag. I took it into the editor, Al Feldstein. I said, "Al, I've got an idea that strikes me funny, but you're going to reject it because if you printed it, it would mutilate a page in the magazine." He looks at it. He says, "I like this." He immediately jumped up and ran into Bill Gaines, and then came back to me and said, "Bill said, 'Lets do it. If the kid folds the page, and he feels he's ruined the magazine, he'll buy another magazine for his collection.'" Ever the money man.

    I did it, and that was it. It was a one shot gag. A couple of weeks later, Feldstein rushes up to me—I happened to be up at MAD at that time—and said, "Where's the next fold-in?" I said, "Al, there is no next fold-in. That's it. It was a one time gag." He says, "I want another fold-in." "

  • This is such a great example of how CSS is often overlooked. Very impressive. I learned a lot from reading it.

    I bet if you had asked how to do this on StackOverflow without any prompting about language, you would have seen a LOT of javascript Me included.

    EDIT: I literally just went to a project I'm working on and removed a piece of JS code that animated a feature because of what I learned from this example.

  • Cool effect but totally broken on Safari. :(

    The halves don't line up, and then when it's done the right half flashes back to a random portion of the image, and then when you move away to "unfold" it's missing a chunk in the middle.

  • Broken for me on Chrome, after the animation a portion of the lower right quadrant re-appears, flipped.

  • Every time I see something like this I'm reminded of how little CSS I actually master.

  • These were great growing up. The March Madness one made me laugh. It's good to know that these things still give that effect. Will almost certainly be lost to future generations.

  • See also https://news.ycombinator.com/item?id=23442041 about Jaffee.

  • Awesome (on MacOS Chrome)! Really neat what you can do with CSS. And thanks for the shoutout for Al Jaffee!

    BTW: Does anyone know if there's an archive of the german mad magazine ? The translation is an experience in itself, and while I found a commercial CD with all the mad archives in English, nothing for German.

  • Can someone explain exactly how this is work is working? I realize it's using CSS transforms but I can't visualize it in my head from reading the code.

  • I built the renderer and thus page turner mechanism for Wrap [1], which kind of reminded me of this. It was interesting to build it and I learned a lot about performance optimizing CSS. Apologies if it sucks now as I haven't been involved on the project in many years.

    [1] https://www.wrap.co/

  • EDIT: I misunderstood how this works!

    Really cool! Might be good to make the "closed" the default and the mouseover open it?

  • These are wonderful! I resubscribed to MAD Magazine a few years ago when my oldest son was able to understand the humor. The fold-ins were his favorite part. What an amazing run for Al Jaffee and MAD magazine--truly a part of history.

  • Aaaand the two halves don't line up in Safari, ruining the effect.

    Figures.

  • Oh, is this what they did in that episode of Malcolm in the middle...

  • As a kid, this was my favorite part of Mad Magazine.

  • Cool idea, but (1) :hover excludes mobile users, maybe pick a more accessible event trigger? and (2) alignment issues