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

Code Example 1

div.fixed {
  position: fixed;
  
bottom: 0;
  right: 0;
  width: 
300px;
  border: 3px solid #73AD21;
}

Learn ReactJs, React Native from akashmittal.com