title: img center, round and center in a div
body: <p>I am stack with a css issue. 
  I would like my picture center in a div (the red one) with a size 50% of the div and also perfectly round... </p>
  
  <p>here is my html code : </p>
  
  <pre><code>&lt;ion-content class="masters"&gt;
    &lt;ion-row&gt;
      &lt;div class="profil-img"&gt;
        &lt;img src="../../assets/img/tennis-club.jpeg" alt=""&gt;
      &lt;/div&gt;
    &lt;/ion-row&gt;
  &lt;/ion-content&gt;
  </code></pre>
  
  <p>here is my css code : </p>
  
  <pre><code>.profil-img img{
      border-radius: 50%;
      border: 3px solid white;
     // position:absolute;
      max-width: 50%;
      max-height: 50%;
      margin-left: auto;
      margin-right: auto;
      vertical-align: middle;
  }
  
  .profil-img{
  border: 2px solid black;
  }
  </code></pre>
  
  <p>and here the result : 
  <a href="https://i.stack.imgur.com/5n1YY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5n1YY.png" alt="enter image description here"></a></p>
  
  <p>Thank you for the help!</p>