Это простая задача для conic-gradient()
h1 {
display:table;
margin:80px auto 0;
font-size:59px;
color:#fff;
padding-bottom:30px;
background:
repeating-conic-gradient(
transparent 0 45deg,
currentColor 46deg 135deg,
transparent 136deg 180deg)
-15px 100% /* -15px is half the size */
/30px 30px /* adjust this to control the size*/
repeat-x;
}
body {
background:lightblue
}
<h1>Title here</h1>