CSS rotateZ(z-angle) rotate an elements along towards z-axis.
Here, Image 2 is rotate 90 degrees towards z-axis.