How to make divs overlap over each other?

Hi, I am newbie and working on my first project, I intend to create a flex box with two div flex item in justify between across the width, but I want the div on the left overlap on the div on the right, as we shorten the width, how do code this behavior?

well you can use media queries for that