Forcing line break after a wrapped flex element

Hello,

I have some elements in a div that are displayed with a flex layout and going on next line automatically with the wrap option. I would like to insert line break after specific elements (depending on the screen size):

Can you please help?