Transform(translate) vs Margin vs positioning top, left, bottom, right

SHOULD I USE TRANSFORM translate or Margin or positioning it and then setting top, bottom right or left.

What do you want to transform? Example?

Oh! Iā€™m sorry.
I animate a button moving up(of course it moving up is not important, just said)
transform:translate(something)
or
margin-bottom:something;

You can both transform and animate. Just make a https://jsfiddle.net and tell us what you have done so far. Like this:

https://jsfiddle.net/ntjc26dm/

1 Like