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
- prompt()
- localStorage
- variables
- collapsing-margins
- relative
- React
- grid-column-start
- javascipt
- createElement
- CSS
- border-style
- react-hook-form
- var
- valuable
- grid-template-areas
- scope
- gird-row-end
- box-shadow
- package.json
- Grid
- className
- python #qqplot #qq-plot #code
- confirm()
- foreach()
- classList
- css#cascading#display#block#inline
- mongodb
- javascript
- grid-column-end
- grid-row-start
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 |