<div class="block"></div>
.block {
    background-color: #eee;
    width: 300px;
    height: 250px;
    border: 16px solid #666;
    border-image: linear-gradient(red, yellow) 10;
  }

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.