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

Code Example 1

img {
  border-radius: 50%;
}

Code Example 2

img {
  border-radius: 50%;
}

Code Example 3

<img src="cinqueterre.jpg" class="rounded" alt="Cinque Terre">

Learn ReactJs, React Native from akashmittal.com