CSS transform Playground

Mr. Harun’s order card between two neighbours: build transform functions and a transform-origin, then the corners the browser painted, its matrix, and a ghost…

Why it matters

transform and opacity are the two cheapest properties to animate because they trigger no new layout. Hovers, modals, carousels, toasts: all use them. Knowing the order of functions and transform-origin makes the result match what you pictured, instead of flying off somewhere odd.

The key idea

Each function works in the axes the ones before it left behind

Common mistakes

Try it in this playground