Применение display: flex;

justify-content: center;

justify-content: flex-start; (flex-end)

justify-content: space-between; (крайние прижимаются к сторонам)

justify-content: space-evenly; (отступы равны)

justify-content: space-around; (отступы суммируются)

flex-wrap: nowrap;

flex-wrap: wrap;

flex-direction: column;

flex-direction: row;

align-items: center;

align-items: flex-start;

align-items: flex-end;

margin: 0; (по умолчанию)

margin: auto; (авто отступы по всем 4 сторонам)

margin: 0 0 0 auto; (top-0, right-0, bottom-0, left-auto)

margin: auto 0 0 0; (top-auto, right-0, bottom-0, left-0)

margin: 0 auto 0 0; (top-0, right-auto, bottom-0, left-0)