flexbox dynamic code example Example: flex make width dynamic .display-flex-div .dynamic-width { flex: 1; }