css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

Watch me code this in ~25 minutes . Tested and fully works in Blink with the Experimental Web Platform features flag enabled.

screenshot of chrome://flags

Animations don't work in Firefox and Edge as CSS variables are not originally animatable, but flip at 50%. In this demo, they're animatable thanks to Houdini (no support in these browsers yet).

If you like this demo in particular and my work in general and you want me to be able to continue putting stuff out, please consider one of the following:

  • showing your appreciation with a donation:

donate button

  • getting me something from my Amazon WishList: πŸ‡ΊπŸ‡Έ / πŸ‡¬πŸ‡§
  • or at least sharing this to show the rest of the world what can be done with CSS on the web these days

Thank you!

Original found in the comments to this CSS-Tricks article.

This Pen is a fork of Matthias Martin's Pen 096 - Jumping Square.


  1. No comments yet.

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.