#CSS #前端 #新特性
💡 CSS Tip!:介绍如何利用 CSS 新特性 calc-size()clamp() 函数中使用 auto 等尺寸关键字
挺新的,MDN 在这里
💡 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()!

https://css-tip.com/clamp-auto/

The same applies to all the sizing values (min-content, max-content, fit-content, etc.)
 
 
Back to Top