Check out a CodePen I created to demonstrate the issue. It would be easiest if you could take a look at it here.
I am trying to figure out a way to include pseudo elements before and after a heading to display a 1px height line that extends from the sides but is interrupted by the text.
-------------------------------------- Text --------------------------------------
If the text wraps into two lines due to length or display size, I want the left line to still align with the beginning and the right part to stay next to the end.
------------------------------ More text that will cover
multiple lines ------------------------------
My ideal scenario would be something like this:
______________________________ More text that will cover _________________________
multiple lines
However, I have been unsuccessful in achieving this so far...