CSS by T. Afif :verified:<p>And here is the code to generate any polygon shape with rounded corners!</p><p><a href="https://css-tip.com/rounded-polygon/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">css-tip.com/rounded-polygon/</span><span class="invisible"></span></a></p><p>Update the variables then get your code (There is another variation using CSS variables as well).</p><p><a href="https://front-end.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> <a href="https://front-end.social/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a></p>