Slide 26
Slide 26 text
display: flex;
A lazy parent. You need to tell its children directly how to behave.
e.g. if Flexbox's kid is kicking your seat on the plane, you'll need to turn around and yell at them. Flexbox will be sitting there
watching movies like nothing's wrong. It kind of did some half-assed parenting by making them Flex Items, and it'll get involved
reluctantly if you really need it too, but mostly the Flex kids are left to work things out among themselves.
display: flex
flex: 1
margin-right: 20px
flex: 2