CSS · Layout
flex-shrink
Whether a flex item may shrink when space is tight. Prevent shrinking on icons and buttons.
Syntax
flex-shrink: 0Example
Try it
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.