What's the difference between using transform and the other ones in CSS3? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

What's the difference between using transform and the other ones in CSS3?

I am really confused whether using transform or the other properties that seem to behave in the same way have any difference, could you guys clarify that for me? Thanks

16th Nov 2018, 8:16 PM
Rafael Lopes
Rafael Lopes - avatar
3 ответов
+ 1
Can you specify what other properties are ? If you're talking about top left position vs transform you'll need to do some test and a data for each browser, because it seems their result are same
16th Nov 2018, 11:27 PM
Taste
Taste - avatar
+ 1
Sorry i was not specific enough, so what i wanted to say is using transform: translate() and using position:relative to change the positioning of an element
18th Nov 2018, 8:55 AM
Rafael Lopes
Rafael Lopes - avatar
0
Yeah its same, the problem could lies in peformance but i dont think there's a significant difference
18th Nov 2018, 9:00 AM
Taste
Taste - avatar