Click on the buttons under the box to see how the box's reference point can be changed with transform
The default reference point position is the top-left position. See the comments in the CSS (around line 100) that shows the different
properties that are used.