Answers for "how to reduce the width of a div container to the size of its content"

CSS
5

make div the size of the text inside

div {
display: inline-block;
}
Posted by: Guest on April-27-2020

Code answers related to "how to reduce the width of a div container to the size of its content"

Browse Popular Code Answers by Language