Answer the question
In order to leave comments, you need to log in
How to make such lines not an image, but pure CSS?
How to make such lines not an image, but pure CSS? it is understood that through the author / befo, but there is no indication of the repetition of one strip
Answer the question
In order to leave comments, you need to log in
Gradient
background: linear-gradient(to right, red 8px, transparent 8px) repeat-x left / 10px 2px;
<div style="width: 400px; border-top: dashed 3px green;">
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question