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