Mastering Flex or Flexible Box Layout in CSS

justify-content: center

1
2
3
4

justify-content: flex-start

1
2
3
4

justify-content: flex-end

1
2
3
4

justify-content: space-between

1
2
3
4

justify-content: space-around

1
2
3
4