title: Gradient effect for triangle shape borders
body: <p>Need to add gradient effect for borders. borders are triangle shaped</p>
  
  <p><a href="https://i.stack.imgur.com/SJeBf.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SJeBf.jpg" alt="enter image description here"></a></p>
  
  <p><strong>here is <a href="https://jsfiddle.net/esqx27q7/2/" rel="nofollow noreferrer">the jsfiddle code</a></strong></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>.progress-indicator-wrapper {
    margin: 0 10px;
    font-size: 16px;
    color: #2f2f2f;
    background-image: linear-gradient(to bottom, #e7e7e7, #d8d8d8);
  }
  .progress-indicator {
    display: table;
    width: 100%;
    text-align: center;
    line-height: 20px;
  }
  .progress-indicator &gt; div {
    display: table-cell;
    margin-top: 0;
    padding: 20px;
    position: relative;
  }
  .progress-indicator &gt; div.progress-active::before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 20px solid #e7e7e7;
  }
  .progress-indicator &gt; div.progress-active::after {
    content: " ";
    position: absolute;
    right: -20px;
    top: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 20px solid #2980b9;
  }
  .progress-active {
    color: #fff;
    background-image: linear-gradient(to bottom, #3498db, #2980b9);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="progress-indicator-wrapper"&gt;
    &lt;div class="progress-indicator"&gt;
      &lt;div&gt;
        &lt;span class="progress-txt"&gt;Step 1 &lt;/span&gt;
      &lt;/div&gt;
      &lt;div class="progress-active"&gt;
        &lt;span class="progress-txt"&gt;Step 2&lt;/span&gt;
      &lt;/div&gt;
      &lt;div&gt;
        &lt;span class="progress-txt"&gt;Step 3&lt;/span&gt;
      &lt;/div&gt;
      &lt;div&gt;
        &lt;span class="progress-txt"&gt;Step 4&lt;/span&gt;
      &lt;/div&gt;
      &lt;div&gt;
        &lt;span class="progress-txt"&gt;Step 5&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I m facing issue with adding gradient for 'border-left' instead of flat color. And need to keep triangle shape.</p>
  
  <p>or </p>
  
  <p>Any other way to do this using only CSS?</p>