I've got a small CSS code snippet for creating a border-bottom effect. It works well for single line text and also for the last line of text in case of multiple lines breaks.
Here is the CSS:
.underline{
border-bottom: 1px dotted #000;
width: 100%;
display: block; //using block instead of inline due to fullwidth issue.
}
And here is how you can use it in HTML:
<div class="underline">
Lorem Ipsum is simply dummy text of the printing and typesetting industry ....
</div>
https://i.sstatic.net/a24KD.png
If you have any advice or suggestions on this approach, I'd greatly appreciate it. Thank you!