align 4 items using display flex code example Example: flex box align items .container { justify-items: center; }