border-radius ν λ리 λ₯κ΅΄κ²
CSS ν λ리 μ€νμΌ
border-styleμμ±μ νμν ν λ리μ μ’ λ₯λ₯Ό μ§μ ν©λλ€ .
λ€μ κ°μ΄ νμ©λ©λλ€.
- dotted- μ μ ν λ리λ₯Ό μ μν©λλ€.
- dashed- μ μ ν λ리λ₯Ό μ μν©λλ€.
- solid- λ¨μ ν λ리λ₯Ό μ μν©λλ€.
- double- μ΄μ€ ν λ리 μ μ
- groove- 3D ν ν λ리λ₯Ό μ μν©λλ€. ν¨κ³Όλ ν λ리 μμ κ°μ λ°λΌ λ€λ¦ λλ€.
- ridge- 3D μ΅κΈ°λ ν λ리λ₯Ό μ μν©λλ€. ν¨κ³Όλ ν λ리 μμ κ°μ λ°λΌ λ€λ¦ λλ€.
- inset- 3D μ½μ ν λ리λ₯Ό μ μν©λλ€. ν¨κ³Όλ ν λ리 μμ κ°μ λ°λΌ λ€λ¦ λλ€.
- outset- 3D μμμ ν λ리λ₯Ό μ μν©λλ€. ν¨κ³Όλ ν λ리 μμ κ°μ λ°λΌ λ€λ¦ λλ€.
- none- κ²½κ³λ₯Ό μ μνμ§ μμ
- hidden- μ¨κ²¨μ§ ν λ리λ₯Ό μ μν©λλ€.
μμ± μ border-style1~4κ°μ κ°μ κ°μ§ μ μμ΅λλ€(μμͺ½ ν λ리, μ€λ₯Έμͺ½ ν λ리, μλμͺ½ ν λ리 λ° μΌμͺ½ ν λ리μ λν΄).
μμ
λ€μν ν λ리 μ€νμΌ μμ°:
p.dotted {border-style: dotted;}
p.dashed {border-style: dashed;}
p.solid {border-style: solid;}
p.double {border-style: double;}
p.groove {border-style: groove;}
p.ridge {border-style: ridge;}
p.inset {border-style: inset;}
p.outset {border-style: outset;}
p.none {border-style: none;}
p.hidden {border-style: hidden;}
p.mix {border-style: dotted dashed solid double;}
p.dashed {border-style: dashed;}
p.solid {border-style: solid;}
p.double {border-style: double;}
p.groove {border-style: groove;}
p.ridge {border-style: ridge;}
p.inset {border-style: inset;}
p.outset {border-style: outset;}
p.none {border-style: none;}
p.hidden {border-style: hidden;}
p.mix {border-style: dotted dashed solid double;}
κ²°κ³Ό:
https://www.w3schools.com/css/css_border.asp
CSS Borders
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
www.w3schools.com
'FA > htmlοΌcss' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
20220923 λͺ¨λ°μΌ μ°½μμ input ν΄λ¦ μ νλ λ°©μ§ (0) | 2022.09.23 |
---|---|
20220921 block / inline-block / inline μ°¨μ΄μ (0) | 2022.09.21 |
20220920 position μμ± (0) | 2022.09.21 |
20220916 inputμμ κΈμ μ μ΅λ, μ΅μ μ§μ νκΈ° (0) | 2022.09.16 |
CSS λ¨μ (0) | 2022.08.12 |