transform-origin: Titik Putar Transform

Drag the origin point on the canvas, watch rotate & scale pivot from different points. An interactive transform-origin: Titik Putar Transform playground…

Why it matters

A clock hand, a dropdown opening from its button, a card tilting from a corner, an SVG icon turning in place: all of it is about one point. Knowing where that point is measured from (the element’s box, not the page; in SVG, its viewport) keeps animations attached where they belong.

The key idea

The origin moves the pin, not the element

Common mistakes

Try it in this playground