Making images overlap between 2 different backgrounds

Hi there,

I’m trying to recreate a similar technique used on this site: https://www.designjoy.co/ (attached a screenshot)

I like how the the doddle images on the side overlap between 2 sections. I was wondering how would I go about recreating that - I noticed that the images stay pinned in their position when resizing.

Would this use relative and absolute positioning? Any guidance is appreciated.