flex three items layout code example Example: css flex .container { display: flex; /* or inline-flex */ }