HTML/CSS Fold Demo

Demo here: http://chrislackey.com/fold/

Had to try to figure out how to pull off this fold effect using just HTML/CSS. This only works in Webkit, and is a lot smoother in Chrome than Safari.

The code's dirty, and I'm sure there are many elements that could have been done better, but this is a proof-of-concept. The only big fallback (outside of limited compatibility) is the requirement that there needs to be 2 instances of each object folded.

My Bezier Curve is a guesstimate, and could be tightened up to be pixel-perfect accurate.

Posted on Nov 27, 2012
Chris Lackey
Welcome to my design portfolio on Dribbble

More by Chris Lackey

View profile