This little demo uses
transform to rotate the 'window', with
transition to smooth the transformation.
Source code is annotated to explain the CSS.
transition animation (Firefox) is more jerky and the angles more jagged than Webkit's (Safari, Chrome). When writing this (June 2012) neither Opera nor Explorer support