Just write it this way transform: perspective(400px) rotate3d(1,0,0,60deg); transform-origin: bottom center; This perspective should be written in front of other attributes, eh, I I don’t know why
It can also be achieved in 2D. It will be large near and small far away. You can rotate the X-axis and reduce the width of the top edge at the same time.
Just write it this way transform: perspective(400px) rotate3d(1,0,0,60deg);
transform-origin: bottom center;
This perspective should be written in front of other attributes, eh, I I don’t know why
Probably because you are still using a 2D perspective
It can also be achieved in 2D. It will be large near and small far away. You can rotate the X-axis and reduce the width of the top edge at the same time.