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 | 31 |
Tags
- box-shadow
- collapsing-margins
- relative
- grid-row-start
- gird-row-end
- createElement
- CSS
- classList
- localStorage
- scope
- border-style
- valuable
- mongodb
- grid-template-areas
- Grid
- grid-column-end
- grid-column-start
- react-hook-form
- python #qqplot #qq-plot #code
- package.json
- foreach()
- var
- prompt()
- css#cascading#display#block#inline
- variables
- javascipt
- javascript
- React
- className
- confirm()
Archives
- Today
- Total
data life
Place Items 본문
세로 방향
: align-items
.container {
align-items: stretch; /*default*/
align-items: start;
align-items: center;
align-items: end;
}
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
가로 방향
: justify-items
.container {
justify-items: stretch; /*default*/
justify-items: start;
justify-items: center;
justify-items: end;
}
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
align-items + justify-items
: place-items
.container {
place-items: align-items justify-items;
}
'CSS > Grid' 카테고리의 다른 글
Place Self (0) | 2022.11.18 |
---|---|
Place Content (0) | 2022.11.18 |
grid 각 셀의 영역 지정 (0) | 2022.11.18 |
grid-template-areas (0) | 2022.11.18 |
Grid gap (0) | 2022.11.18 |