align items on the main axis flexbox code example Example: flex box align items .container { justify-items: center; }