Check out example codes for "css rotate 90 deg". It will help you in understanding the concepts better.

Code Example 1

transform: rotate(90deg);

Learn ReactJs, React Native from akashmittal.com