Languages
[Edit]
EN

CSS - 3D rotation

0 points
Created by:
Maison-Humphries
791

In this article, we would like to show you 3D rotation in CSS.

Quick solution:

Note:

The solutions below are detailed in the articles from the Quick solution section above.

 

Rotate around X-axis - rotateX()

Edit

Rotate around Y-axis - rotateY()

Edit

Rotate around Z-axis - rotateZ()

Edit

Note:

You can use rotate() method instead of rotateZ() - these two solutions are equal.

References

Edit
  1. CSS - rotate element horizontally on hover (rotateX)

  2. CSS - rotate element vertically on hover (rotateY)

  3. CSS - rotate element on hover (rotateZ)

Alternative titles

  1. CSS - 3D transform
  2. CSS - 3D transformation
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join