KandZ – Tuts

We like to help…!

CSS 50 💻 transform scaleX, scaleY and scaleZ

a - transform scaleX
transform scaleX allows you to scale an element horizontally...
along its X-axis.
transform: scaleX(2); → Scales along X-axis by a factor of 2
transform scaleY allows you to scale an element vertically...
along its Y-axis.
transform: scaleY(2); → Scales along X-axis by a factor of 2
transform scaleZ allows you to scale an element along its Z-axis
It can be used to create a 3D effect
transform: scaleZ(2); → Scales along Z-axis by a factor of 2

Leave a Reply