.my-3d-element{transform:rotateY(20deg);transition:transform 0.5s}.my-3d-element:hover{transform:rotateY(360deg)}