The translate CSS property accepts 1-3 values, each specifying a translation against one axis, in the order X, Y, and Z.
object.style.translate = "value";
<'translate'> = none | <length-percentage> [ <length-percentage> <length>? ]?
<length-percentage> = [ <length> | <percentage> ]
<length>
Specifies the length using a number followed by a unit of measurement.
<percentage>
Specifies the percentage using a number followed by a percent sign (%).
<length>
Specifies the length using a number followed by a unit of measurement.