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

Code Example 1

.right {
  position: fixed; /* the fixed pos makes it work */
  right: /*how much you want to move it right 
    put % or px or rem at end of the amount */;

Code Example 2


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

Code Example 3

<div style="position:absolute; right:10;">Hello world</div>

Learn ReactJs, React Native from