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; /* Will shrink equally */
}

.important-item {
  flex-shrink: 0; /* Won't shrink at all */
}
compress flex-shrink: 1 (all items)
1
1
1
format_list_numbered flex-shrink: 2, 1, 1
2
1
1
format_list_numbered flex-shrink: 1, 0, 3
1
0
3