The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › centered heading over multible lines, underline just the last words
I have invested much time, but I cannot find a solution to make the CSS underline like the following picture:
Here how it should look: https://i.stack.imgur.com/CPqMl.jpg
It is a heading with centered text. At bigger screens, the text is displayed in just one line.
It would be nice if the red underline isn´t directly connected with the words (so that it is responsively).
Have you a CSS snippet or a link?
Thanks in advance!