The flex-shrink property is a sub-property of the Flexible Box Layout module. It specifies the “flex shrink factor”, which determines how much the flex item will shrink relative to the rest of the flex items in the flex container when there isn't enough space on the row.
The flex-shrink property specifies how the item will shrink relative to the rest of the flexible items inside the same container.
Note: If the element is not a flexible item, the
flex-shrink property has no effect.