• 회원가입
  • 로그인
  • 구글아이디로 로그인

[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
부모 요소의 굵기를 상속


방문 감사합니다. (즐겨찾기 등록: Ctrl + D)

분류 제목
font CSS - font 속성 ★ - 글자스타일종합 (= font속성 = 글씨체 = 서체 = 글꼴 = 폰트속성, …
font CSS - font-size 속성 ★ - 글자크기 (= 글씨체크기= 글씨크기 = 서체크기= 글씨크기 = …
font CSS - font-family 속성 ★ - 글자종류 (= font-family속성 = 폰트패밀리속성 = 글…
font CSS - font-weight 속성 ★ - 글자굵기 (= font-weight속성 = 폰트굵기 = 글씨체굵…
font CSS - font-style 속성 - 글자기울기 (= 이텔릭체 여부 = 이탤릭 글씨체 = 글자 기울려쓰기 … 1
font CSS - font-variant 속성 - 작은 대문자 (= font-variant속성 = 폰트베리언트 = …
font CSS - @font-face 구문 - 다운받은 웹폰트적용 (= @font-face쿼리 = 다운글꼴적용 = …
font CSS - font-feature-settings 속성 - OpenType 글꼴의 고급 인쇄 기능 제어 (=…
font CSS - font-kerning 속성 - 문자 모양 고려해, 문자 사이 간격 지정 (= font-kerni…
font CSS - font-size-adjust 속성 - 소문자 x 높이 기준으로, 대체 글꼴 크기 재조정 (= f…
font CSS - font-stretch 속성 - 폰트 너비 조정 (= font-stretch속성 = 폰트스트레치속…
font CSS - font-variant-caps 속성 -
목록
찾아주셔서 감사합니다. Since 2012