Kevin Powell - CommunityKP-C
Kevin Powell - Community9mo ago
3 replies
Faker

How does min-content differs from max-content?

Hello, from what I've read and understood, min-content is used to make text wrapped so there isn't any overflow while max-content doesn't make text wrapped and can cause overflow.

Can someone confirm if that's correct and if there is more to that please. I often see people use it with
width
property, min and max-content are only used with
width
?

Is it only used to text or for containers also, like
div
?
Was this page helpful?