<div class="box1"></div>
.box1{
  height:100px;
  outline:1px solid;
  background:linear-gradient(-45deg,black 0,black 25px,yellow 25px,yellow 75px) top left;
  background-size:40px 40px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.