#full-service-creative-studio::after {
content: "";
position: absolute;
left: 20px;
bottom: 10px;
width: 103%;
height: 28px;
background: #46989C;
z-index: -1;
}
<h1 id="full-service-creative-studio">Full Service Design Studio</h1>
Currently, it works great for a single line but when we scale down to say mobile view it only underlines the bottom line of the text. Is there a way to make every line underlined?
I think what you are looking for is:
The pseudo selector
::afterwill put the line underneath theh1ELEMENT_NODEand not theTEXT_NODEcontained within theh1element.