css translate directions code example
Example 1: transform:translateX()
/* <length-percentage> values */
transform: translateX(200px);
transform: translateX(50%);
Example 2: css scale
scale(sx)
scale(sx, sy)
/* <length-percentage> values */
transform: translateX(200px);
transform: translateX(50%);
scale(sx)
scale(sx, sy)