Advertisement
KodingKid

CSS 2D and 3D rotation

May 1st, 2021
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.13 KB | None | 0 0
  1. #my2D { /*2D rotating box*/
  2.     transform: translate(100px, 50px)
  3. }
  4. #my3D { /*3D rotating box*/
  5.     transform: rotateX(180deg);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement