I've read multiple threads without success.
I'm looking for help creating a line next to text in CSS. I'm not allowed to change the HTML code so adding a span element to the html code is not a solution for me.
This is what it looks like.
<legend>Text</legend>
and i want to create a line like this https://i.stack.imgur.com/b1zfx.jpg
Any solution to it without changing the html-code?