title: Use of border-image display 4 dots in corners of my div
body: <p>I am trying to set a gradient color to my border using border-image.
  However when is use border-image: linear-gradient(-180deg, #2D6BD0 0%, #83B8FF 100%); I only get a single dot in each of the corners of my DIV...
  Anybody knows why this is not showing the whole border?</p>
  
  <p><a href="https://i.stack.imgur.com/k2Psq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k2Psq.jpg" alt="enter image description here"></a></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>.slider {
    width: 90%;
    min-height: 15vw;
    background: white;
    position: relative;
    float: left;
    display: block;
    border-style: solid;
    border-width: 0.3vw;
    border-image: linear-gradient(-180deg, #2D6BD0 0%, #83B8FF 100%);
    margin-left: 5%;
    margin-bottom: 2.5%;
    margin-top: -27.5%;
    border-radius: 8px;
    box-shadow: 2px 2px 4px 0px #000000;
    z-index: 20;
  }
  
  .insideslider {
    width: 80%;
    margin-left: 2.5%;
    float: left;
    position: relative;
  }
  
  .slides {
    position: relative;
    float: left;
    display: inline;
    width: 30%;
    margin-left: 3%;
    margin-top: 3.5%;
  }
  
  #slide1 {
    margin-left: 1.5%;
  }
  
  #slide2 {}
  
  #slide3 {} 
  
  .leftarrow {
    margin-top: 5vw;
    width: 5%;
    float: left;
    position: relative;
    margin-left: 2.5%;
  }
  
  .rightarrow {
    margin-top: 5vw;
    width: 5%;
    float: left;
    position: relative;
    margin-left: 2.5%;
    transform: rotate(180deg);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="slider"&gt;
  
    &lt;img class="leftarrow" src="images/rewind.png" /&gt;
  
    &lt;div class="insideslider"&gt;
      &lt;img class="slides" id="slide1" src="images/aandrijvingen.png" /&gt;
  
      &lt;img class="slides" id="slide2" src="images/electronicrepair.png" /&gt;
  
      &lt;img class="slides" id="slide3" src="images/retrofit.png" /&gt;
  
    &lt;/div&gt;
  
    &lt;img class="rightarrow" src="images/rewind.png" /&gt;
  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>