{display: block;}
{display: flex;}
{display: inline-flex;}
{justify-content: flex-start;}
{justify-content: flex-end;}
{justify-content: center;}
{justify-content: space-around;}
{justify-content: space-between;}
.top.side {flex-grow: 1;}
.top.center {flex-grow: 1;}
.middle.side {flex-grow: 2;}
.middle.center {flex-grow: 1;}
.bottom.side {flex-grow: 1;}
.bottom.center {flex-grow: 2;}
.grow.side {
flex-basis: 60px;
flex-grow: 1;
}
.grow.center {
flex-grow: 3;
}
.shrink.side {
flex-basis: 300px;
flex-shrink: 3;
}
.shrink.center {
flex-shrink: 2;
flex-basis: 150px;
}
- Flex: grow shrink basis 한줄에 작성하기
ex){flex: 2 2 100px ;}
{align-items: flex-start;}
{align-items: flex-end;}
{align-items: center;}
{align-items: baseline;}
{min-height: 75px ;}
max-height:'}
Flex 방향속성 추가하기
Flex-wrap과 flex-direction 속성을 한 줄에 작성하는 방법
- 반드시 direction -> wrap 순서로 작성!
{flex-flow: column wrap;}