flexbox make all items same width 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