title: make picture fit in css circle
body: <p>Is there a way where you can make a picture fit automatically in a css circle? Fx if a user add a picture there is 500px * 500px, but the circle is 100px * 100px. When I upload a picture now, the picture is just filling out the screen, instead of staying inside the circle.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
    &lt;style&gt;
  
  
    #circle
   {
     border-radius:50% 50% 50% 50%;  
     width:100px;
     height:100px;
  }
   &lt;/style&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
     &lt;img src="skin-tone.jpg" id="circle"&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>