Gradually change the flex-shrink property of the "blue DIV" from 1, to 8, and back to 1:
The flex-shrink property is animatable in CSS.
Note: CSS Animations do not work in Internet Explorer 9 and earlier versions.