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