Can child HTML elements be resized using only CSS? Below is an example for reference. I am interested in different approaches to achieve this effect without using JQuery. Is there a simpler method?
<div class="your_custom_styling_here_for_resizing">
<div style="width: 400px; height: 400px; display: flex;">
<div style="height: 100px; background: #333333; flex: 1;"></div>
<div style="background: #cccccc; flex: 1;"></div>
</div>
</div>