Check out example codes for "how to move an image up in css". It will help you in understanding the concepts better.

Code Example 1

  position: relative; 
  top: -125px;

Code Example 2


      <div style = "position:relative; left:80px; top:2px; background-color:yellow;">
         This div has relative positioning.

Code Example 3

  position: absolute;

Learn ReactJs, React Native from