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

Code Example 1

h2.pos_left {
  position: relative;
  left: -20px;

h2.pos_right {
  position: relative;
  left: 20px;

Code Example 2

  position: absolute;

Code Example 3

<!DOCKTYPE html> <!-- Start of coding page -->
<html> <!-- Start of html coding -->
  <head> <!-- Start of head -->
    <title>TITLE<title> <!-- Title -->
      /* CSS */
  </head> <!-- End of head -->
  <body> <!-- Start of body -->
    <div id='mydiv' style = "position:relative; left:0px; top:100px;">
      <!-- Use that style tag to positions things, have a play around with it! -->
  </body> <!-- End of body -->
<html> <!-- End of html coding -->
<!-- Add this line of code next to your id: 

style = "position:relative; left:0px; top:100px;" 

too let you position divs where you want them, you can even position
them ontop of other divs! -->

Code Example 4

.class{ position: attribute ; }

Code Example 5

  	/*left: (how much pixles from the left you want)px*/
    /*top: (how much pixles from the top you want)px*/

    /*right: (how much pixles from the right you want)px*/
    /*bottom: (how much pixles from the bottom you want)px*/

Learn ReactJs, React Native from