这个问题是问题的后续问题:变换后的宽度/高度.
我发布了一个新问题,因为这个问题只能解决宽度而不是高度.公式:
var x = $('#box').width()*Math.cos(rotationAngle) + $('#box').height()*Math.sin(rotationAngle);
适用于宽度,计算高度的等效公式是什么?
谢谢.
javascript css jquery css3
css ×1
css3 ×1
javascript ×1
jquery ×1