<div></div>
div {
background-image: repeating-linear-gradient(
0deg,
transparent 0 20px,
black 20px 40px
);
margin: 1rem;
height: 200px;
border: 1px solid #000;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.