title: How to dynamically set max-width of sibling in angular
body: <p>Is it possible to set max-width of a div to same value as width of its sibling (in angular6)?</p>
  
  <p>In other words, can I set max-width of "child_two" to the same value as width of "child_one" with the constraint that I just know the width of "child_one" when it is rendered?</p>
  
  <pre><code>`&lt;div class="parent-div"&gt;
     &lt;div id="child_one" class="child-div"&gt; &lt;/div&gt;
     &lt;div id="child_two" class="child-div"&gt; &lt;/div&gt;
   &lt;/div&gt;`
  </code></pre>