flex grow and flex basis code example Example: flex-grow css flex-grow: /*example*/ .flex-item { flex-grow: 2; }