CSS3 3D casts + animations are great. I am wondering if there is a way to do something bend.
This example flips the (paper) div, but the animation looks stiff because when you flip the paper, it bends a little.
So, any properties that I forgot, or maybe a combination that makes it look like its bends?
div { width: 90%; height: 700px; position: fixed; left: 5%; top: 0; background-color: rgba(0,0,0,0.9); -webkit-transform: perspective(1000); -webkit-transform-style: preserve-3d; -webkit-transform-origin: top; -webkit-animation: "page curl down" 1s ease-out forwards; } @-webkit-keyframes "page curl down" { from { -webkit-transform: rotate3D(1,0,0,180deg); } to { -webkit-transform: rotate3D(0,0,1); } }
Example of curling a page with a bend (image): http://numerosign.com/software/css3machine/#documentation
Dadu
source share