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

Code Example 1

#image {
  image-orientation: 90deg; /* Can be changed in the live sample */
}

Learn ReactJs, React Native from akashmittal.com