![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
![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)
html - Is there a way to make a child DIV's width wider than the parent DIV using CSS? - Stack Overflow
![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
![jquery - div inside div position is absolute parent div height not expand when child div height increased - Stack Overflow jquery - div inside div position is absolute parent div height not expand when child div height increased - Stack Overflow](https://i.stack.imgur.com/ljzQx.png)
jquery - div inside div position is absolute parent div height not expand when child div height increased - Stack Overflow
![Image inside a parent div of height:0 is not being properly lazyloaded · Issue #576 · aFarkas/lazysizes · GitHub Image inside a parent div of height:0 is not being properly lazyloaded · Issue #576 · aFarkas/lazysizes · GitHub](https://user-images.githubusercontent.com/22921878/50254014-6bdda900-03ba-11e9-9d50-738f057c975a.png)
Image inside a parent div of height:0 is not being properly lazyloaded · Issue #576 · aFarkas/lazysizes · GitHub
![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/3/9/3984a0ae1f996927f7de24325d540324723ba011.png)
Div-Block not taking full width when Parent Element is Display = Flexbox - General - Forum | Webflow
![html - Parent div fixed height, second child variable height, first child fills the rest - Stack Overflow html - Parent div fixed height, second child variable height, first child fills the rest - Stack Overflow](https://i.stack.imgur.com/yLi6Q.jpg)