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