justify-content: space-evenly;1 HTML/CSS] flex- box로 요소 배치하기2 지난 시간에 이어서 '플렉스 박스 레이아웃'입니다. '플렉스 박스 레이아웃'을 사용할 때 유용한 추가 속성들을 살펴 보겠습니다. 먼저 지난시간에 하던 예시를 이어서 보여드리겠습니다 :) .container{ width: 800px; height: 400px; border: 5px solid black; background-color: burlywood; /* flex-box로 만들어주기 */ display: flex; /* 주축방향 정렬 */ justify-content: center; /* 교차축방향 정렬*/ align-items: center; } .item{ width: 100px; height: 100px; border: 5px solid black; background-color: chocola.. 2021. 8. 22. 이전 1 다음