Need help for making responsive set of horizontal div boxes

Hi there!

Been having problems designing a responsive set of horizontally aligned containers.
I want to create a similar set of responsive containers as shown in the attached file using the example of Gumroad’s design. The goal is to create two sections of different colour. Been trying various auto-layout and constraints tricks but nothing worked for me.

Could anybody help?

Hard to tell if this would be helpful, but have you tried setting your separate elements (the black side and the white) to “fill container”. Elements inside would need to either be hug or fill.

Oh my god! Thank you so much! It worked :blush:

Completely missed out on that function.

1 Like