The transform property applies visual changes to an element such as rotate, scale, skew, and translate. It repositions or reshapes the element without altering the normal document flow, so surrounding elements are not pushed around.
List each function in a single transform value separated by spaces, for example transform: rotate(20deg) scale(1.2) translate(10px, 5px). Order matters because each function is applied relative to the result of the previous one.
translate() moves an element using GPU-accelerated compositing and does not trigger layout reflow, making it smoother for animation. Setting top or left changes layout position and can cause reflow, which is slower.
Yes. 2D transforms like rotate, scale, skew, and translate are supported in all modern browsers, including Chrome, Firefox, Safari, and Edge, without vendor prefixes.