3 .transformableContainer {
5 -webkit-perspective-origin:
50%
50%;
6 -webkit-perspective:
100;
9 -webkit-transform-origin:
0em
0em
0em;
10 -webkit-transform-style: preserve-
3d;
13 transform: translate3d(
100px,
100px, -
25px);
15 .resetTransformOrigin {
16 -webkit-transform-origin:
50%
50% !important;
19 <div class=
"transformableContainer resetTransformOrigin" style=
"width: 400px; height: 400px;">
20 <div class=
"transformable transformed">
21 <div class=
"content" style=
"width: 200px; height: 200px; background-color: red;"></div>
25 <div class=
"transformableContainer resetTransformOrigin" style=
"width: 400px; height: 400px;">
26 <div class=
"transformable transformed">
27 <div class=
"content" style=
"width: 200px; height: 200px; background-color: green;"></div>