I have organized the parent div and its three children divs. Presently, the third child is concealed. I've designated the width of the first child as 20% and desire for the second child to automatically take up the remaining width without explicit settings. The third child has a width of 20%, and when revealed, it should adjust proportionally within the parent's width while causing the second child to readjust its own width accordingly.
<div id="parent" style="background-color: pink;">
<div id="child1" style="background-color: gray; display: inline-block; width: 20%;">
div1
</div>
<div id="child2" style="background-color: blue; display: inline-block">
div2
</div>
<div id="child3" style="background-color: violet; display: hidden; width: 20%;">
div3
</div>
</div>