title: How to make parent div grow in height along with its child that has fixed position?
body: <p>i have these 2 divs :  </p>
  
  <pre><code>&lt;div id="parent" style="border:1px silid;background-color:#fff"&gt;
      &lt;div id="child" style="position:fixed;width:100px;height:100px; border:solid 1px;"&gt;
      &lt;/div&gt; 
  &lt;/div&gt;  
  </code></pre>
  
  <p>Bascally i want the fixed child to stay inside the parent div , so the parent div should resize its height every time the page scrolls down (the child moves down).  </p>
  
  <p>Is there a css solution or should i make it in js  ?</p>