flex-shrink Property
compress
Defines ability of flex item to shrink if necessary
calculate
Unitless value that serves as proportion
remove_circle_outline
Controls how items reduce size when container is too small
looks_one
Default value: 1 (items will shrink)
block
Value of 0 prevents item from shrinking
code
flex-shrink Examples
.item {
flex-shrink: 1;
}
.important-item {
flex-shrink: 0;
}