Change transform-style with JavaScript
Click the "Try it" button to preserve the 3D position of the child elements of the DIV2 element:
Try it
DIV1
HELLO DIV2
HELLO DIV3