[HTML5 & CSS3] λ€λ¨μΌλ‘ νΈμ§νκΈ°
*column-width - λ¨μ λλΉ κ³ μ νκ³ λ€λ¨ ꡬμ±νκΈ°
β
κΈ°λ³Έν)
column-width : <ν¬κΈ°> / auto |
μμ± κ° |
μ€λͺ |
<ν¬κΈ°> |
λ¨ λλΉλ₯Ό μ§μ μ§μ νλ€. |
auto |
λ¨μ κ°μ(column-count) κ°μ λ€λ₯Έ μμ±μ λ°λΌ λ¨μ λλΉκ° μλ κ³μ°λλ€. |
β
β
β
*column-count μμ± - λ¨μ κ°μ κ³ μ νκ³ λ€λ¨ ꡬμ±νκΈ°
β
κΈ°λ³Έν)
column-count : <μ«μ> / auto |
μμ± κ° |
μ€λͺ |
<μ«μ> |
μ½ν μΈ κ° λ€μ΄κ° λ¨μ κ°μλ₯Ό μ§μ νλ€. 0λ³΄λ€ ν° μλ₯Ό μ¬μ©νλ€. |
auto |
λ¨μ λλΉ(column-width) κ°μ λ€λ₯Έ μμ±μ λ°λΌ λ¨μ κ°μκ° μλ κ³μ°λλ€. |
β
β
β
*column-gap μμ± - λ¨κ³Ό λ¨ μ¬μ΄ μ¬λ°± μ§μ νκΈ°
β
κΈ°λ³Έν)
column-gap : <ν¬κΈ°> / normal |
μμ± κ° |
μ€λͺ |
<ν¬κΈ°> |
λ¨κ³Ό λ¨ μ¬μ΄μ μ¬λ°±μ μ«μλ‘ μ§μ . |
normla |
μ¬λ°±μ μλμΌλ‘ μ§μ νλ€. W3Cμμ κΆμ₯νλ μ¬λ°±μ 1emμ λλ€. |
β
β
β
*column-rule μμ± - ꡬλΆμ μ μμ, μ€νμΌ, λλΉ μ§μ νκΈ°
β
κΈ°λ³Έν)
column-rule-color : <μμ> column-rule-style : none / hidden / dotted / dashed / solid / double / groove / ridge / inset / outset column-rule-width : <ν¬κΈ°> / thin / medium / thick column-rule : <λλΉ> <μ€νμΌ> <μμ> |
β
β
*break-after μμ± - λ€λ¨ μμΉ μ§μ νκΈ°
β
κΈ°λ³Έν)
break-after : column / avoid-column break-before : column / avoid-column break-inside : column / avoid-column |
μμ± |
λ¨ λλ μμΉ |
λμ |
|
λ¨ λλ |
λ¨ λλμ§ μμ |
||
break-before |
νΉμ μμ μ |
column |
avoid-column |
break-after |
νΉμ μμ λ€ |
||
break-inside |
νΉμ μμ μ |
β
ββ
β
*column-span μμ± - μ¬λ¬ λ¨μ νλλ‘ ν©μΉκΈ°
β
κΈ°λ³Έν)
column-span : 1 / all |
μμ± κ° |
μ€λͺ |
1 |
λ¨μ νλλ§ ν©μΉλ κ²μ΄λ―λ‘ ν©μΉμ§ μλ κ²κ³Ό κ°λ€. |
all |
μ 체 λ¨μ νλλ‘ ν©μ³ νννλ€. λ¨μ μΌλΆλ§ ν©μΉ μλ μλ€. |