티스토리 뷰
부모
구분 | 속성 | 기본값 | 축약 |
방향 | flex-direction | row | flex-flow *값의 위치는 제약이 없다. [예제] flex-flow: cloumn wrap flex-flow: wrap cloumn |
줄바꿈 | flex-wrap | nowrap | |
정렬 | justify-content | normal | place-content [값이 1개인 경우] place-content: align-content | justify-content *align, justify 값이 동일하게 적용 [값이 2개인 경우] place-content: align-content justify-content *띄어쓰기로 값을 구분한다. [예제] gap: center gap: 8px 16px |
align-content | normal | ||
align-items | normal | ||
간격 | row-gap | normal | gap [값이 1개인 경우] gap: row-gap | column-gap *row, column 값이 동일하게 적용 [값이 2개인 경우] gap: row-gap column-gap *띄어쓰기로 값을 구분한다. [예제] gap: 8px gap: 8px 16px |
column-gap | normal |
[참고]
Q. align-content와 align-items의 차이
Q. flex에 justify-items와 justify-self는 없나요?
[예제]
자식
구분 | 속성 | 기본값 | 축약 |
확장 | flex-grow | 0 | flex *별도 정리 |
축소 | flex-shrink | 1 | |
크기 | flex-basis | auto | |
순서 | order | 0 | |
정렬 | align-self | auto |
[참고]
[공부 좌표]
'이론 > CSS' 카테고리의 다른 글
[CSS] justify-content (0) | 2021.06.25 |
---|---|
[CSS] box-shadow (0) | 2021.06.09 |
[CSS] order (0) | 2021.03.09 |
[CSS] Q. flex에 justify-items와 justify-self는 없나요? (0) | 2021.03.09 |
[CSS] Q. align-content와 align-items의 차이 (0) | 2021.03.09 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 링크막기 #a링크막기
- clinetTop
- [[Prototype]]
- 불일치 연산자
- 대괄포 표기법
- property
- 동치 연산자
- __proto__
- clientHeight
- scrollTop
- 동등 연산자
- offsetHeight
- javascript class
- 프로퍼티
- prototype 프로퍼티
- 부등 연산자
- innerHeight
- 일치 연산자
- outerHeight
- @font-face
- constructor
- scrollHeight
- offsetTop
- 객체의 프로퍼티
- 점 표기법
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함