CSS

[font] CSS - font-weight 속성 ★ - 글자굵기 (= font-weight속성 = 폰트굵기 = 글씨체굵기 =글씨굵기 = 글자굵기 = 글씨두께 = 글자두께 = 서체굵기=글꼴굵기 = 폰트웨이트속성, 상속 O)

목차
  1. font-weight 예제 - 글자 굵기
  2. font-weight 정의
  3. font-weight 구문

 

font-weight 예제 - 글자 굵기 

 
<p style="font-weight: normal;">normal 홈짱닷컴 (homzzang.com)</p>
<p style="font-weight: bold;">bold 홈짱닷컴 (homzzang.com)</p>
<p style="font-weight: bolder;">bolder 홈짱닷컴 (homzzang.com)</p>
<p style="font-weight: lighter;">lighter 홈짱닷컴 (homzzang.com)</p>
<p style="font-weight: 100;">100 홈짱닷컴 (homzzang.com)</p>
<p style="font-weight: 200;">200 홈짱닷컴 (homzzang.com)</p>
<p style="font-weight: 300;">300 홈짱닷컴 (homzzang.com)</p>
<p style="font-weight: 400;">400 홈짱닷컴 (homzzang.com)</p>
<p style="font-weight: 500;">500 홈짱닷컴 (homzzang.com)</p>
<p style="font-weight: 600;">600 홈짱닷컴 (homzzang.com)</p>
<p style="font-weight: 700;">700 홈짱닷컴 (homzzang.com)</p>
<p style="font-weight: 800;">800 홈짱닷컴 (homzzang.com)</p>
<p style="font-weight: 900;">900 홈짱닷컴 (homzzang.com)</p>

결과보기
 

font-weight 정의

 
폰트 굵기 지정.

 


 
1.
  • 기본값 : normal
  • 상속여부: O
  • 애니효과: O
  • CSS버전: CSS1
  • JS구문: object.style.fontWeight="bold"
 
2.
모든 브라우저 지원.
 
 

font-weight 구문

 
선택자 {font-weight: normal|bold|bolder|lighter|number|initial|inherit;}

 


[속성값]
 
normal 
기본 굵기 (기본값) (= 400)
 
bold
굵은 서체 (= 700)
 
bolder 
상속된 굵기보다 더 굵은 서체
 
lighter 
상속된 굵기보다 더 얇은 서체
 
number
굵기 지정 숫자 (100단위로 900까지 가능. 숫자 클수록 굵음.)
100 200 300 400 500 600 700 800 900 
 
initial
이 속성의 기본값으로 설정.
 
inherit
부모 요소의 굵기를 상속



분류 제목
intro CSS - 브라우저 접두어 (= vendor prefix = 벤더 프리픽스)
border CSS - border-radius 속성 ★ - 테두리둥글기 지정 (= border-radius속성 = 보더…
border CSS - border-top-left-radius 속성 - 테두리상단왼쪽둥글기 지정 (= 보더탑레프트레이디…
border CSS - border-top-right-radius 속성 - 테두리상단우측둥글기 지정 (= 보더탑라이트레이…
border CSS - border-bottom-right-radius 속성 - 테두리 하단 오른쪽 모서리 둥글게 (= …
border CSS - border-bottom-left-radius 속성 - 테두리하단왼쪽모서리둥글게 (= border…
border CSS - border-image 속성 - 테두리이미지 (= border-image속성 = 보더이미지속성, …
border CSS - border-image-source 속성 - 테두리 이미지 주소 (= border-image-so…
border CSS - border-image-slice 속성 - 테두리이미지자르기 (IE11)
border CSS - border-image-width 속성 - 테두리 이미지 너비 (= border-image-wid…
border CSS - border-image-outset 속성 - 테두리 경계 넘는 이미지 양. (= 보더이미지아웃셋속…
border CSS - border-image-repeat 속성 - 테두리 이미지 반복할지 늘릴지 선택 (= 보더이미지리…
background CSS - background-clip 속성 - 배경영역 (= background-clip속성 = 백그라운드…
background CSS - background-origin 속성 - 배경이미지 좌표시작점 (= 백그라운드오리진 속성)
background CSS - background-size 속성 ★ - 배경이미지 크기 (background-size속성 = 백…
9/35
목록
 홈  PC버전 로그인 일본어
그누앞단언어
그누뒷단언어
그외코딩언어
그누보드 1
제작의뢰
Q&A
커뮤니티 3
웹유틸
회원센터
홈짱닷컴 PC버전 로그인