I have a div which contains text inside of it. I want to add a background-color to the div, but I dont want the background-color to take up the entire row. Just the size of the div.
This is the current state:
div {
background-color: blue;
}
<div>text is here<div>
this is the wanted state:
Thanks