This GIF uses depth of field and graphic elements to achieve its effect, just like many classic paintings. The white lines define the plane where the screen is, creating a mental division between background, midplane and foreground.
Combined with the camera's depth of field blur, it tricks our brain into thinking that things are popping out of the screen.
If you like it, there's more... http://goo.gl/wQf0TT
Which is your favorite?