Post

For people who think it's useless because we can simply define max/min-width are missing the point. It's not only about that specific case, but also about any combination that involves other values as well.

CSS by T. Afif@css-only.dev

💡 CSS Tip! Have you ever tried to use "auto" within clamp()? Unfortunately, it doesn't work, but it's now possible using the new calc-size()! css-tip.com/clamp-auto/ The same applies to all the sizing values (min-content, max-content, fit-content, etc.)

4 reposts8 likes