min-width
介绍
设置元件的最小宽度。它可以阻止 width 属性的应用值小于 min-width 的值。
min-width 的值会覆盖 width,但会被 max-width 覆盖。
使用示例

语法
取值
0px
默认值。
<length>
<length> 定义了一个确定值。
<percentage>
以包含区块的宽度百分比定义 min-width。
形式定义
| 初始值 | 0px |
| 适用元素 | 所有元件 |
| 是否支持继承 | 否 |
| 是否支持动画 | yes |
| 百分比 | refer to the width of the containing block |
形式语法
与 Web 的区别
- 不支持
auto,默认值是 0px。 - 不支持
none,max-content,min-content,fit-content。 - 在 Lynx 中
min-width不会覆盖max-width。 - 在 Lynx 中,如果指定的
max-width小于min-width,则min-width会被忽略。
兼容性
LCD tables only load in the browser