【参考サイト】 https://blog.funxion.jp/139/
.hoge {
background-image: linear-gradient(
to right,
#575757,
#575757 1px,
transparent 1px,
transparent 4px
);
background-size: 7px 1px;
background-position: bottom;
background-repeat: repeat-x;
}