平移,旋转,缩放
1 matrix(,,,,,) 矩阵
2 translate([50px, 50px]) 平移
3 scale([x,y ]) 旋转
4 skew( [45deg,45deg ]) 扭曲
第一个参数:数值是正的,则逆时针旋转。
第二个参数:数值是正的,则顺时针旋转。
透明度:opacity

transform-origin:基于某点变形,旋转。
默认值:50% 50%,效果等同于center center
取值:left top; right top; left bottom; right bottom.

网友评论