fit-content and fit-content()
Here’s some hardcore deep-dive CSS nerdery from PPK. If you can wrap your mind around min-content
(the smallest an element can be based on the content it contains) and max-content
(the largest the content of an element can push it) …