div to flex around content code example Example: css flex .container { display: flex; /* or inline-flex */ }