Outer box is 400px wide. Children use percentage widths relative to their parent.

Outer (400px)
50% of outer = 200px
80% of 200px = 160px
25% of outer = 100px

Expected: nested boxes where each child is correctly sized relative to its parent.

Back to index