mincontent
Min-content is a CSS intrinsic sizing keyword used to describe the minimum contribution of a box’s content to its size along an axis. It is one of the intrinsic size concepts alongside max-content and fit-content. In CSS, min-content can be used with width, min-width, height, and min-height to indicate the smallest dimension the content could occupy without overflowing, given the content and normal line-breaking opportunities.
For width, the min-content size corresponds to the narrowest possible layout the content can achieve when line
Min-content is typically contrasted with max-content, which represents the largest possible size the content would take
Usage examples include setting an element’s width to min-content, or constraining its minimum width with min-width: