I'd like to have a simple div without any nested elements
<div class="border">čištění</div>
displaying horizontal dashed border inside the element (like within padding), like this
There is a outline-offset property, but it accepts only a single length value and vertical borders also appear. Is there any elegant solution?
In the suggested answer I can not see how to hide the vertical borders.
