justify-content: flex-end;
μμ±μ μ΄μ©νμ¬ ν΄λΉ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
justify-content
#pond {
display: flex;
justify-content: flex-end;
}
justify-content: center;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
justify-content
#pond {
display: flex;
justify-content: center;
}
justify-content: space-around;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
justify-content: space-around;
}
justify-content: space-between;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
justify-content: space-between;
}
align-items: flex-end;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
align-items
#pond {
display: flex;
align-items: flex-end;
}
justify-content: center;
μ align-items: center;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
justify-content: center;
align-items: center;
}
justify-content: space-around;
μ align-items: flex-end
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
justify-content: space-around;
align-items: flex-end;
}
flex-direction: row-reverse
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
flex-direction
#pond {
display: flex;
flex-direction: row-reverse;
}
flex-direction: column;
μ μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
flex-direction
#pond {
display: flex;
flex-direction: column;
}
flex-direction: row-reverse;
μ justify-content: flex-end;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
flex-direction: row-reverse;
justify-content: flex-end;
}
flex-direction: column;
μ justify-content: flex-end;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
flex-direction: column;
justify-content: flex-end;
}
flex-direction: column-reverse;
μ justify-content: space-between;
μ μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
flex-direction: column-reverse;
justify-content: space-between;
}
justify-content: center;
, align-items: flex-end
, flex-direction: row-reverse;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
justify-content: center;
align-items: flex-end;
flex-direction: row-reverse;
}
order: 3;
μ μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
}
.yellow {
order: 3;
}
order: -1
μ μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
}
.red {
order: -1;
}
align-self: flex-end;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
align-items: flex-start;
}
.yellow {
align-self: flex-end;
}
order: 1;
, align-self: flex-end;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
align-items: flex-start;
}
.yellow {
order: 1;
align-self: flex-end;
}
flex-wrap: wrap;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
flex-wrap
#pond {
display: flex;
flex-wrap: wrap;
}
flex-direction: column;
, flex-wrap: wrap;
μ μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
flex-direction: column;
flex-wrap: wrap;
}
flex-flow: column wrap;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
flex-flow
<flex-direction>
and <flex-wrap>
.flex-flow: column wrap;
align-content: flex-start;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
align-content
#pond {
display: flex;
flex-wrap: wrap;
align-content: flex-start;
}
align-content: flex-end;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
flex-wrap: wrap;
align-content: flex-end;
}
flex-direction: column-reverse
, align-content: center;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
flex-wrap: wrap;
flex-direction: column-reverse;
align-content: center;
}
flex-flow: column-reverse wrap-reverse;
, justify-content: center;
, align-content: space-between;
, align-self: center;
λ₯Ό μ΄μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμμ΅λλ€.
#pond {
display: flex;
flex-flow: column-reverse wrap-reverse;
justify-content: center;
align-content: space-between;
align-self: center;
}
<integer>
(...-1, 0 (default), 1, ...)align-items
value.flex-direction
and flex-wrap
.<flex-direction> <flex-wrap>