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

Code Example 1

.img {
	transform: rotate(10deg);
  	/*to rotate an image you have to use the transform function in CSS and rotate
  	in degrees*/
}

Code Example 2

.img {
transform: rotate(90deg);
}

Learn ReactJs, React Native from akashmittal.com