transform CSS property is great for scaling, rotating or moving content. This is an interactive tutorial on most of the ways you can add transform in CSS.
In this example, notice how there is
perspective: 40px applied to the container class. This is what allows most of the transforms to actually look 3-D.