How to draw dashed line using html and css as below? Not the dotted line. ------> . Arrow should be centered of the dashes.
refer the attached .
I have tried this:
.line {
width: 20%;
margin: 5px 0;
height: 2px;
background: repeating-linear-gradient(to right, red 0, red 5px, transparent 5px, transparent 7px) center/*5px red then 2px transparent -> repeat this!*/
}
<div class="line"></div> <i class="fa ui-icon-keyboard-arrow-right ui-icon-button;" style="font-size:24px; color:black"></i>