In the following code, will the browser decide whether to wrap the #container element into new lines based on whether the initial sizes exceed the width of the cross axis or the main axis?
#container {
display: flex;
flex-wrap: wrap;
width: 500px;
height: 500px;
}
#container div {
flex-basis: 200px;
}
<div id="container">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>