+ 1

How normally positioning elements and using transform: translate() differ?

Is there a difference in performance or behavior?

18th Nov 2018, 9:05 AM
Rafael Lopes
Rafael Lopes - avatar
1 Answer
+ 1
Main thing is compatability: transforms are part of CSS3 and often require a vendor prefix to work closer to expected ( https://www.w3schools.com/cssref/css3_pr_transform.asp ) while "normal positioning" is part of CSS2 ( https://www.w3schools.com/cssref/pr_class_position.asp ). Not sure if there were other "performance or behavior" aspects you were interested in.
18th Nov 2018, 12:25 PM
Janning⭐
Janning⭐ - avatar