JSFiddle - React, Tailwind, and code Playground
by Shashank D
HTML
<div class="h-zigzag"></div>
CSS
.h-zigzag {
height:200px;
width:200px;
background:
linear-gradient(-135deg, #333538 5px, transparent 0) 0 5px,
linear-gradient(135deg, #333538 5px, #fff 0) 0 5px,
url('http://placekitten.com/200/200');
background-color: #333538;
background-position: left bottom, left bottom, top;
background-repeat: repeat-x;
background-size: 10px 10px, 10px 10px, 100% 100%;
}