I am curious about how to insert lines between words or sentences without using the common methods like border-bottom-line
or js
. Is it possible to achieve this effect using a simple span
or div
? I have attempted to do so myself, but I am open to learning if there is a better way.
Click here to view an image example.
.ll{
display: flex;
flex-direction: row;
}
<div class="ll">
<span> one </span>
<span>-</span>
<span> two </span>
<span>-<span>
<span> three </span>
</div>