how to 3d rotate object in javascript code example Example: css rotate 3d transform: rotate3d(1, 1, 1, 45deg);