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

.image{
  position: absolute;
  right:300px;
}

Code Example 3

<!DOCKTYPE html> <!-- Start of coding page -->
<html> <!-- Start of html coding -->
  <head> <!-- Start of head -->
    <title>TITLE<title> <!-- Title -->
    <script>
      //JavaScript
    </script>
    <style>
      /* CSS */
    </style>
  </head> <!-- End of head -->
  <body> <!-- Start of body -->
    <div id='mydiv' style = "position:relative; left:0px; top:100px;">
      Hello! 
      <!-- Use that style tag to positions things, have a play around with it! -->
    </div>
  </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

#IMAGE_ID {
	position:absolute;
  
  	/*left: (how much pixles from the left you want)px*/
  	left:100px;
  
    /*top: (how much pixles from the top you want)px*/
  	top:100px;
}

#MY_OTHER_IMAGES_ID {
    /*right: (how much pixles from the right you want)px*/
  	right:100px;
  
    /*bottom: (how much pixles from the bottom you want)px*/
  	bottom:100px;
}

Learn ReactJs, React Native from akashmittal.com