The bottom instruction is equivalent:
.half { flex-grow: 0; flex-shrink: 0; flex-basis: 50%; }
Which in this case would be equivalent, since the box could not bend and, therefore, retained the initial width specified by the flex-basis.
Flex-basis determines the default size for an element before the remaining space is allocated, so if the element is allowed to bend (increase / decrease), this may not be 50% of the page width.
I found that I regularly return to https://css-tricks.com/snippets/css/a-guide-to-flexbox/ for help regarding flexbox :)
Charlie frater
source share