title: How to draw a curved and gradient colored trapezoid with HTML and css3
body: <p>How to draw a curved and gradient colored trapezoid with HTML and css3 like attached image.</p>
  
  <p><a href="https://i.stack.imgur.com/EIOoW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EIOoW.jpg" alt="enter image description here"></a></p>
  
  <p>I have this code.</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>#trapezoid {
   height: 0;
   width: 120px;
   border-bottom: 80px solid #05ed08;
   border-left: 45px solid transparent;
   border-right: 45px solid transparent;
   padding: 0 8px 0 0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="trapezoid"&gt;Trapezoid&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>