flex-direction
2026년 5월 17일
-
flex-direction 속성 값에 따라 크기를 정하는 기준이 달라진다.(main-axis 기준으로 크기를 설정하기 때문이다.)
-
flex-direction: row, 아이템의 너비(width)이다.
-
flex-direction: column, 아이템의 높이(height)이다.
flex-direction
연결된 노트와 함께 읽기
flex-direction 속성 값에 따라 크기를 정하는 기준이 달라진다.(main-axis 기준으로 크기를 설정하기 때문이다.)
flex-direction: row, 아이템의 너비(width)이다.
flex-direction: column, 아이템의 높이(height)이다.