Check out example codes for "translations css". It will help you in understanding the concepts better.

Code Example 1

div{
  transform: translate(50px, 200px);
}

Learn ReactJs, React Native from akashmittal.com