So my designer and I are building our friends brand’s new website and my designer came up with this mock-up. I am talking about the triangle images stacked on top of each other. Somehow I need to make this responsive while keeping the design split. The 2 images on top of each other are probably the easiest part. But on the “lookbook” page there is a 3rd triangle introduced. I don’t want to just scrap the idea because I really like it and want to be able to use something like this in my portfolio. Let me know what you think I am down to brainstorm
EDIT:
I made it 600px and this happened. Can’t tell if I am closer or further away haha. But, making the border a pixel number instead of a percentage wont make it responsive.
EDIT 2: using 100vw and 100vh seems to be the trick but I still can’t add the background image
SO! I figured it out haha. I’m gonna post my process in case anyone else wants to do this sort of thing. I used clip-path to get the result so there is a tiny bit of code involved and there is slightly limited browser support but in general, it works well.
So I have a background wrapper set to 100vh and position relative. Inside the wrapper, I have 2 divs. Top image and bottom image.