Creating 3D shapes in CSS.

 


Creating 3D shapes in CSS.
CSS 3D Transforms
CSS also supports 3D transformations.Mouse over the elements below to see the difference between a 2D and
a 3D transformation:

2D rotate
3D rotate

In this chapter you will learn about the following CSS property:
transform

CSS 3D Transforms Methods

With the CSS transform property you can use the following 3D transformation methods:

  • rotateX()
  • rotateY()
  • rotateZ()