flexshrink
Flex-shrink is a property of flex items in the CSS Flexible Box Layout (Flexbox) that determines how items shrink to fit a flex container when there is not enough space along the main axis. It is a unitless number used by the flex shrink factor to allocate reductions in size among items. The default value is 1 for all items, meaning they shrink proportionally to their base sizes. A value of 0 disables shrinking for that item, so it will not reduce its size even if the container becomes smaller, potentially causing overflow.
How it works: When the total flex-basis size of the items exceeds the size of the flex
Practical notes: Flex-shrink applies only to elements inside a flex container (display: flex or inline-flex) and
Examples (conceptual): Two items with equal base widths and flex-shrink: 1 will shrink equally in a tight