flexShrink
flexShrink
属性指定了 flex 元素的收缩规则。flex 元素仅在默认宽度之和大于容器的时候才会发生收缩,其收缩的大小是依据 flex-shrink 的值。Web CSS 是默认值为 1
,QuickTVUI 中默认值为 0
。
Name | Description | Type | Default |
---|---|---|---|
flexShrink | MDN 文档 | number | 0 |
flexShrink
属性指定了 flex 元素的收缩规则。flex 元素仅在默认宽度之和大于容器的时候才会发生收缩,其收缩的大小是依据 flex-shrink 的值。Web CSS 是默认值为 1
,QuickTVUI 中默认值为 0
。
Name | Description | Type | Default |
---|---|---|---|
flexShrink | MDN 文档 | number | 0 |