Quotidien Shaarli

Tous les liens d'un jour sur une page.

January 13, 2022

How to Make a Pure CSS 3D Package Toggle | CSS-Tricks - CSS-Tricks
thumbnail

You know how you can get cardboard boxes that come totally flat? You fold ‘em up and tape ‘em to make them into a useful box. Then when it’s time to recycle them, you cut them back apart to flatten them. Recently, someone reached out to me about essentially this concept as a 3D animation and I thought it would make an interesting tutorial to do it entirely in CSS, so here we are!