During production, we often encounter such a situation. Is there any way to position the inner layer relatively without setting the height of the outer layer?
Reply to the discussion (solution)
You can use relative percentages, as shown below, the height is relative to 50% of the outer layer