Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- scope
- python #qqplot #qq-plot #code
- foreach()
- collapsing-margins
- confirm()
- javascipt
- CSS
- package.json
- border-style
- classList
- relative
- javascript
- grid-template-areas
- Grid
- React
- grid-row-start
- react-hook-form
- grid-column-start
- grid-column-end
- localStorage
- box-shadow
- createElement
- className
- var
- gird-row-end
- variables
- css#cascading#display#block#inline
- prompt()
- valuable
- mongodb
Archives
- Today
- Total
data life
Place Content 본문
아이템 그룹 세로 정렬
: align-content
.container {
align-content: stretch;
align-content: start;
align-content: center;
align-content: end;
align-content: space-between;
align-content: space-around;
align-content: space-evenly;
}
1️⃣ stretch
A
B
C
D
E
F
G
H
I
2️⃣ start
A
B
C
D
E
F
G
H
I
3️⃣ center
A
B
C
D
E
F
G
H
I
4️⃣ end
A
B
C
D
E
F
G
H
I
5️⃣ space-between
A
B
C
D
E
F
G
H
I
6️⃣ space-around
A
B
C
D
E
F
G
H
I
7️⃣ space-evenly
A
B
C
D
E
F
G
H
I
아이템 그룹 가로 정렬
: justify-content
.container {
justify-content: stretch;
justify-content: start;
justify-content: center;
justify-content: end;
justify-content: space-between;
justify-content: space-around;
justify-content: space-evenly;
}
1️⃣ stretch
A
B
C
D
E
F
G
H
I
2️⃣ start
A
B
C
D
E
F
G
H
I
3️⃣ center
A
B
C
D
E
F
G
H
I
4️⃣ end
A
B
C
D
E
F
G
H
I
5️⃣ space-between
A
B
C
D
E
F
G
H
I
6️⃣ space-around
A
B
C
D
E
F
G
H
I
7️⃣ space-evenly
A
B
C
D
E
F
G
H
I
align-content + justify-content
: place-content
.container {
place-content: align-content justify-content;
}
'CSS > Grid' 카테고리의 다른 글
Auto column, row (0) | 2022.11.18 |
---|---|
Place Self (0) | 2022.11.18 |
Place Items (0) | 2022.11.18 |
grid 각 셀의 영역 지정 (0) | 2022.11.18 |
grid-template-areas (0) | 2022.11.18 |