css3中matrix函数的使用
来源:懂视网
责编:小采
时间:2020-11-27 16:41:11
css3中matrix函数的使用
css3中matrix函数的使用:scale(sx,sy)对应matrix(sx,0,0,sy,0,0) 拉伸 rotate(θ)对应matrix(cosθ,sinθ,-sinθ,cosθ,0,0) 旋转 skew(θx,θy)对应matrix(1,tan(θy),tan(θx
导读css3中matrix函数的使用:scale(sx,sy)对应matrix(sx,0,0,sy,0,0) 拉伸 rotate(θ)对应matrix(cosθ,sinθ,-sinθ,cosθ,0,0) 旋转 skew(θx,θy)对应matrix(1,tan(θy),tan(θx

scale(sx,sy)对应matrix(sx,0,0,sy,0,0) 拉伸
rotate(θ)对应matrix(cosθ,sinθ,-sinθ,cosθ,0,0) 旋转
skew(θx,θy)对应matrix(1,tan(θy),tan(θx),1,0,0) 倾斜
css3中matrix函数的使用
css3中matrix函数的使用:scale(sx,sy)对应matrix(sx,0,0,sy,0,0) 拉伸 rotate(θ)对应matrix(cosθ,sinθ,-sinθ,cosθ,0,0) 旋转 skew(θx,θy)对应matrix(1,tan(θy),tan(θx