I have a main layer with multiple layers stacked on top of it. I need the second layer to extend its width to match the body's width.
Main Project:
What I've tried:
I looked into: Solution for matching div width with body
One solution that worked was: http://example.com
However, this approach did not work for my project, possibly due to the parallax
JS. When implemented, here is what happened: https://example.com
I also experimented with using vw
for the width unit, suggesting that I may need to adjust my JS instead of just CSS
The end goal is to have the second layer at 100% width and the third layer at 100% height, similar to this example image: view example