Flipping a simple image to a div (transitions and 3d transforms) Plan Put an image on top of a div inside a container. Put that in another container with perspective defined. When hovering on the outside container, add a rotate around the Y axis to the inside container. Demo This is nice for exposing more information about an image. Any content can go here. Code First, the markup. <div id="f1_cont