rotate function with x y z values css code example Example: css rotate 3d transform: rotate3d(1, 1, 1, 45deg);