0

What is difference between (translateZ) and (scale) in css3?

What is difference between (translateZ) and (scale) in css3?

23rd Apr 2018, 8:29 PM
Mahmoud Farah
Mahmoud Farah - avatar
1 Answer
+ 19
Changing the size of an element (scale) indeed makes it look like it's being zoomed in and out (translateZ) but is it really the same?? Changing the size of an element affects its view from every axis while translateZ changes only the Z axis...
23rd Apr 2018, 8:34 PM
Valen.H. ~
Valen.H. ~ - avatar