keep same width of child in display flex code example Example: flex all child same width .child { flex: 1; }