title: Make one side of svg rounded
body: <p>I want to make one side of my svg to be rounded.</p>
  
  <p>I have svg below and I want to rounded this part:</p>
  
  <p><a href="https://i.stack.imgur.com/8vQZ3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8vQZ3.png" alt="enter image description here"></a></p>
  
  <p>How can I do this?</p>
  
  <p>My svg size must be 100% of it's container.</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 {
    width: 100%;
    height: 500px;
  }
  
  svg {
    height: 100%;
    width: 100%;
  }
  polygon {
    fill: black;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="wrapper"&gt;
    &lt;svg viewBox="0 0 40 100" preserveAspectRatio="none"&gt;
      &lt;polygon points="10,0 40,0 40,100 10,80"/&gt;
    &lt;/svg&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>