display:flex;
1) flex-direction: row;
2) flex-direction: column;
컨테이너가 아이템을 한줄로 담을 공간이 없을 때, 아이템 줄 바꿈 형식을 결정.
flex-wrap:wrap / nowrap (기본값)
container{
justify-content: flex-start;/
flex-end;/
center;/
space-between;/
space-around;/
space-evenly;
}
.container{
align-items: stretch;/
flex-start;/
flex-end;/
center;/
baseline/
}
.container{
justify-content: center;
align-item: center;
}
flex-wrap: wrap;
align-content: stretch;/
flex-start;/
flex-end;/
center;/
space-between;/
space-around;/
space-evenly;/
"위의 align-items/content는 부모 요소의 자식들 전체를 묶어서 정렬을 해주는 반면,
부모 요소의 자식 아이템들을 각각 다른 방식으로 정렬하고 싶다면 (정렬을 개별(아이템별로)로 설정하고 싶다면)
align-self를 사용한다.
align-content 속성은 지워줘야 제대로 적용이 가능하다