JSFiddle - React, Tailwind, and code Playground

by iLight

HTML

<div class="border"></div>

CSS

.border{
  width:100%;
  height:10px;

      background-image: linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
           background-size: 50px 50px; 
           background-color: #000;
}