If you have a Google account, you can save this code to your Google Drive.
Google will ask you to confirm Google Drive access.
Save file as:
If you have saved a file to Google Drive, you can open it here:
Gradually change the transform-origin from "50% 50% 0" to "0 0 0", and back:
Note: The grey DIV element indicates where the DIV2 element would be without the transformation.
The transform-origin property is animatable in CSS.
Note: CSS Animations do not work in Internet Explorer 9 and earlier versions.