![Possible to hide all if one div active in CSS or is it only achievable in JS - HTML & CSS - SitePoint Forums | Web Development & Design Community Possible to hide all if one div active in CSS or is it only achievable in JS - HTML & CSS - SitePoint Forums | Web Development & Design Community](https://global.discourse-cdn.com/sitepoint/original/3X/f/5/f535eb121ff3c3c2cb82bf83181bb3aec866f704.jpeg)
Possible to hide all if one div active in CSS or is it only achievable in JS - HTML & CSS - SitePoint Forums | Web Development & Design Community
![So I want the parent div to have enough height to fit the child div(as shown in the snapshot). Worthy to not I used position: relative and edited the child div's positions So I want the parent div to have enough height to fit the child div(as shown in the snapshot). Worthy to not I used position: relative and edited the child div's positions](https://preview.redd.it/qbvo5ae362i91.png?auto=webp&s=633ab4010a318bf3c04b2b72bd790f9673d51f3a)
So I want the parent div to have enough height to fit the child div(as shown in the snapshot). Worthy to not I used position: relative and edited the child div's positions
![Div-Block not taking full width when Parent Element is Display = Flexbox - General - Forum | Webflow Div-Block not taking full width when Parent Element is Display = Flexbox - General - Forum | Webflow](https://global.discourse-cdn.com/business5/uploads/webflow1/original/3X/e/3/e35037824269962deffa7ff025695bff381943ed.png)
Div-Block not taking full width when Parent Element is Display = Flexbox - General - Forum | Webflow
![html - Is there a way to make a child DIV's width wider than the parent DIV using CSS? - Stack Overflow html - Is there a way to make a child DIV's width wider than the parent DIV using CSS? - Stack Overflow](https://i.stack.imgur.com/MRgm9.gif)