Skip to main content
Question

Need help for making responsive set of horizontal div boxes


Fjodor

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?

2 replies

Lisa_Lessenger

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.


Fjodor
  • Author
  • 6 replies
  • August 16, 2022

Oh my god! Thank you so much! It worked 😊

Completely missed out on that function.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings