When nesting multiple spans within each other and giving them borders, their horizontal borders overlap by default while their vertical borders stack.
Check out a live example on JsFiddle: https://jsfiddle.net/4un9tnxy/
.html:
<span><span>a</span> + <span>b</span></span>
.css:
span { border: 1px solid black; }
To make all borders overlap, you can add the CSS property display: inline-block;
.
Is there a way to adjust it so that all borders overlap instead of stacking?