How do I make the background-color of h4
stay just the width of the text. I can not delimit a fixed width because I do not know the size of the text and I also can not use display: inline-block because I need h4 one underneath the other. Anyone know how I can do this or some other solution for the case will be welcome!
h1{
background-color: yellow;
}
<h1>Testando!</h1>
What I have achieved so far is not the expected result: