column-reverse1 0304_html5/css3_display:flex - (2)정렬,순서바꾸기 flex-derection, order 기본 정렬 순서 바꾸기 flex-direction: ; order: ; flex-direction : 정렬하기 - row, row-reverse, column, column-revers - 순서 뒤바꾸는 작업은 잘 하지 않음 - 주로 row 사용함 order : 배치되는 순서 정하기 - order값이 지정되지 않으면 작은 값(0) 바로 뒤로 이동 - z-index와 개념은 다르지만 원하는대로 순서를 바꿀 수 있음 flex-direction: row; (기본값) - 가로 정렬 .container{width: 600px; height: 100px; border: 2px solid #07c; display: flex; flex-direction: row; } .item1{ width: 200px; backgr.. 2020. 3. 4. 이전 1 다음