CSS Property:
flex-grow:

Result:
CSS Code:

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