The flex-shrink CSS property specifies how much a flex item will be reduced with respect to the other items in the flex container to fit within a reduced container.
Overview table1
flexShrink
flex-shrink: number
See flex examples for the use of this property in an example.
flex-shrink: 3;
Usage
The best practice is to use (instead of this property) the flex shorthand property, as it correctly resets any unspecified flex components to accomodate common uses.
Notes
This property is animatable only for values of 1 or greater.
Related specificationsflex-shrink
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4