<style>
    div {
      width: 200px;
      height: 300px;
      image-rendering: -moz-crisp-edges;
      image-rendering: crisp-edges;
      image-rendering: pixelated;
      border-image-source: url('resources/border-image-pixelated.png');
      border-image-slice: 1 1 1 1 fill;
      border-image-width: 50px 50px;
      box-sizing: border-box;
    }
</style>
<div class="border"></div>
