It worked all well until I got one of the children with position: fixed applied to it (pop up menu). I can't restructure HTML by taking out such child outside of parent element. I guess it's because clip-path property is creating a new stacking context. So the child is positioned fixed relative to it's containment parent instead of viewport.
I had to resort back to using pseudo element on parent instead to apply such full-bleed background effect.
Did anyone overcome such edge case in any better way by a chance?
<main class="full-bleed-bg"> <div class="my-popup-content" style="position: fixed; and other sytles"> </div></main>
<main class="full-bleed-bg"> <div class="my-popup-content" style="position: fixed; and other sytles"> </div></main>