I used the code from Kushsolitary's post to make it.
It is a kind of window that simulates outdoor seeing. Its using the same concept of rotating and outer box .i.e. window in this case and translating the outer world's image with respect to it.
perspective property is used to make it look 3D which only works in webkit browsers for now.
Here's a video for those who can't view the 3D effect or don't have webkit borwsers.