Flex
- ์ฝํ ์ธ ๋ฅผ ์ ๋ ฌํ๊ฑฐ๋ ๊ณต๊ฐ์ ๋๋ ์ ์๋ CSS ์์ฑ์ ์งํฉ
Absolute๋ ๋ณธ๋ ์์น์ ๊ณ์ ์์
sticky๋ ๋์จ์ง ์ผ๋ง ์๋ '-webkit-'๊ณผ ๊ฐ์ ๋ธ๋ผ์ฐ์ ์ง์์ ์ํ ๋ฒค๋ ํ๋ฆฌํฝ์ค๊ฐ ํ์ํจ
display : flex;๋ก ์ ์ธ
๋ถ๋ชจ๋ container, ์์์ item
์์ ์ ์ง๊ณ์์๊น์ง๋ง ์ํฅ
์ถ ๋ฐฉํฅ :
[๊ฐ๋ก] row, row-reverse
[์ธ๋ก] column, column-reverse
justify-content๋ก ๋ฐฐ์ด ์์น, ์์ดํ
๊ฐ๊ฒฉ ์กฐ์
justify๋ ๋ฉ์ธ์ถ ๋ฐฉํฅ, align์ ์์ง ๋ฐฉํฅ
<br> ํ๊ทธ๋ ์คํฌ๋ฆฐ ๋ฆฌ๋๊ฐ ์ฝ๋ค๊ฐ ๋์ด๋ฒ๋ฆฌ๋ฏ๋ก ์ค๋ฐ๊ฟ ์ด์ฉ ์์
wrap์ ์ฌ์ฉํ์ฌ ์ค๋ฐ๊ฟ
order ๊ฐ์ ์์ ๊ฐ์ด ์๋๋ผ ์ฐ์ ์์
(- ์์ ๊ฐ์ ๊ฐ์ด ๋ฎ์์ง์๋ก ์ฐ์ ์์๊ฐ ์์ฌ)

blue, green, yellow๋ฅผ flex ์ค์
background: black;, justify-content: space-between; ๋ก ์ ๋ ฌ
์ ์ด๋ฏธ์ง๋ ์ค๋ฅธ์ชฝ ์ฌ์ด๋๊ฐ ์ธ๋ก ์ญ๋ฐฉํฅ์ด๊ธฐ ๋๋ฌธ์ right_side๋ฅผ flex-direction: column-reverse ์ค์
๋ฉ์ธ์ถ์ end ์์น, ์์ง์ถ์ ์ค์์ ๋ ฌ์ด ํ์
justify-content: flex-end์ align-items: center ํ์
๊ฐ๊ตฌ๋ฆฌ๋ฅผ ํด๋น ์์น์ ๋ณด๋ด๊ธฐ ์ํด์ ๋ค์๊ณผ ๊ฐ์ ์ฝ๋ ๊ตฌ์ฑ
display: flex;
flex-direction: row-reverse;
align-items: end;
justify-content: center;