Premium
Four mitered paper flaps lie flat around a card, then fold up and over their creases one after another, land with a small bounce as a crisp frame, and fold back out in reverse, faster.
Also known as: paper fold border css, folding frame animation, 3d fold border css, origami card animation.
Premium
Everything you see above is live. Basic and Pro include every premium piece, with the HTML and CSS ready to copy, plus the Tailwind version where there is one and Motions in Claude Code on Pro.
--bdr-color on the element or a parent.
Currently previewing #3b82f6.--bdr-size. Every other dimension is in
em, so the whole thing scales together. Currently previewing 16px.transition or animation
shorthand. Staggered delays are relative, so they keep their rhythm.