Intrinsic sizing
noun
say it: “in-TRIN-zik SY-zing” /ɪnˈtrɪnzɪk ˈsaɪzɪŋ/
Letting an element's content decide its size, instead of giving it a set width or height; min-content, max-content and fit-content are its keywords.
What is intrinsic sizing?
Intrinsic sizing means an element is sized by its content rather than a set width.
.label { width: fit-content; }
In a sentence
- “With intrinsic sizing, the 'Sold out' label is exactly as wide as its words.”
Level: Freelancer · More CSS terms at this level
Updated