I need some help from the CSS Gurus here. I am trying to get a layout to work for me whereby the widths are specific but the heights are determined by the contents of the div. The divs wrap as required but in the case of the 2 smaller divs in the case that they should fit one on top of the other next to the larger one but I cannot figure out how to do this or if I am even using the correct layout for this.
<div style="display: flex; flex-wrap:wrap;">
<div style="height:300px;width:66%; background-color: red;"></div>
<div style="height:150px;width:33%; background-color: blue;"></div>
<div style="height:150px;width:33%; background-color: yellow;"></div>
</div>