Hello Web Developers,
Using CSS what is the best way to expand a div to fit it's content?
I currently use
overflow: auto but sometimes the div turns into a scrollable element which disrupts the design.
Can this be done in another way like
height: max-content? Are there any other ways of going about this?