CSS Property:
flex-shrink:

Note: Internet Explorer and Safari do not support the flex-shrink property.

Result:
CSS Code:
div#myBlueDiv
{
flex-shrink: 1;
}
Click the property values above to see the result
W3Schools.com - Play it