There is a parent div with 2 children - child1 and child2.
<div class="parent">
<div class="child1"></div>
<div class="child2">
<p>Some long text...</p>
</div>
</div>
I want the parent to expand it's width by the child1 div (e.g. if child1 has width=200px, parent has the same width).
Below child1, there should be the child2 div and fill 100% of the parent's width (set by child1), but not expand the parent's width further (e.g. if there is a long paragraph of text, it should wrap on 200px).
How can I achieve this with CSS?