Rotate the red div element, try changing its X-axis and Y-axis:
HELLO
Rotate:
transform: rotateY:(
45deg
);
X-axis:
Y-axis:
transform-origin:
20% 40%
;