width + display flex code example Example: css flex .container { display: flex; /* or inline-flex */ }