title: Absolute positioning an element on the circumference of a circle
body: <p>I have been working on to place an icon to the bottom right of an image having the property of border-radius: 50%. 
  Here's what I want to achieve(Icon to be on the circumference),</p>
  
  <p><a href="https://i.stack.imgur.com/EQ4bH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EQ4bH.png" alt="enter image description here"></a></p>
  
  <p>By absolute and relative positioning, I can place the icon as expected but on smaller screens, the icon goes out of place due to image resizing (with img-fluid class of bootstrap 4).</p>
  
  <p><a href="https://i.stack.imgur.com/O4A3U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O4A3U.png" alt="enter image description here"></a></p>
  
  <p>How can I make the icon to be at the same place across all screens even after image resizes?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.wrapper{
    position: relative;
    display: inline-block;
    margin: 30px;
  }
  
  .image{
    border-radius: 50%;
  }
  
  .icon{
    height: 50px;
    width: 50px;
    background: #008080;
    position: absolute;
    border-radius: 50%;
    right: 22px;
    bottom: 42px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"/&gt;
  
  &lt;div class='wrapper'&gt;
    &lt;img src='https://via.placeholder.com/350x350' class='image img-fluid'/&gt;
    &lt;span class='icon'&gt;&lt;/span&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>