div{ transform: rotate(45deg); transform-origin:20% 40%; } //2D 转换元素能够改变元素 x 和 y 轴。3D 转换元素还能改变其 Z 轴。 //默认值: 50% 50% 0