I am trying to add dashed border top on a div using css. I have this: https://jsfiddle.net/uexma4o6/74/
div {
display: inline-block;
width: 50px;
height: 50px;
border-top: 2px dashed #AAA;
}
The problem is that first and last dash are little longer than others. I think it's because actual borders on the left and right are included? How can I make all dashes same width? I am looking for solution without using border-image. Thanks.