css transform-origin transition code example Example: transform orgin css Click to copydiv { transform: rotate(45deg); transform-origin: 20% 40%; }