flex div sma esize as first child code example Example 1: flex all child same width .child { flex: 1; } Example 2: how to make all the columns equal size with flexbox flex: 1 1 0px