Html Flexbox Repeat Layout Depending On Items Shown

Html Flexbox Repeat Layout Depending On Items Shown