css 3d transform rotation code example Example 1: css rotate 3d transform: rotate3d(1, 1, 1, 45deg); Example 2: rotate 3d rotate3d(x, y, z, a)