[22] 04/27 자바스크립트 수업

Noh Sinyoung·2023년 4월 27일
0

플렉스

display: flex. 부모 밑의 자식 태그들을 한 줄로 배열하는 것. 가로나 세로

부모에게 적용하는 것: display:flex / justify-content / align-items

justify-content: 가로정렬.

left, center, right, space-around, space-between, space-evenly

align-items : 세로 정렬.

start, center, end

자식에게 적용하는 것: flex / order

0개의 댓글