0
Hey folks! What's the difference between translate and margin in terms of positioning in CSS?
CSS
2 Antworten
+ 3
translate move element without affecting structure
margin affect structure
you could also use 'float' property, or 'position' (set to 'relative', absolute', 'fixed'...) and use one or more of 'top', 'left', 'bottom', 'right'
+ 2
Jonel Hatwell
You posted 3 copies of this question (including this one). Please remove the other copies to help reduce duplicated questions 👍
Also please tag a relevant language name ☝