반응형

나눔바름고딕 CSS 적용


폰트 정의

@font-face { font-family: 'NanumBarunGothic';
src: url('/fonts/NanumBarunGothic.eot');
src: url('/fonts/NanumBarunGothic.eot') format('embedded-opentype'),
url('/fonts/NanumBarunGothic.woff') format('woff');}


폰트사용시

body {font-family: 'NanumBarunGothic', 'serif';}



SRC 부분은 웹프로그램 소스상에서 폰트 파일들이 어디에 위치하는지를 적어줍니다.



NanumBarunGothic.zip



나눔고딕 CSS 적용


폰트 정의

@font-face { font-family: 'NanumGothic';
src: url('/fonts/NanumGothic.eot');
src: url('/fonts/NanumGothic.eot') format('embedded-opentype'),
url('/fonts/NanumGothic.woff') format('woff');}


폰트사용시

body {font-family: 'NanumGothic', 'serif';}


NanumGothic.eot

NanumGothic.woff

NanumGothicBold.eot

NanumGothicBold.woff


반응형
반응형