Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以情况是这样的: oX并且oY是我transform-origin设置的,Z 坐标为0. 我希望能够以任意原点围绕绘制的轴旋转。如何?我不明白 CSS3 的rotate3D(x,y,z,rotate)工作原理。
oX
oY
transform-origin
0
rotate3D(x,y,z,rotate)
为了解决这个问题,我必须perspective()在父容器上应用修饰符 - 以便rotate3D()在正确的上下文中。
perspective()
rotate3D()