Flex로 display 해버리기 [justify-content]

Joah·2022년 5월 25일
0

Flex

목록 보기
2/2
post-thumbnail

display: flex

flex의 시작을 알린다


flex-direction:

- row

- row-reverse

- column

- column-reverse


justify-content:

교차축을 기준으로 정렬한다.

주축은 flex-direction에 따라 달라진다.

flex-direction: row | row-reverse교차축은 y축(세로)

flex-direction: row 일때!

justify-content: flex-start

justify-content: flex-end

justify-content: center

profile
Front-end Developer

0개의 댓글