나눔고딕 웹폰트 사용하기

조회 5,110

나눔 고딕 웹폰트 사용하기.

css 파일에 import 를 하거나.. 

@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);

아니면 그냥  css 를 추가 하거나

<link href="http://fonts.googleapis.com/earlyaccess/nanumgothic.css" rel="stylesheet" />

아니면 그냥 폰트파일을 다운 받아서 사용하는 웹서버에 올려 놓고..

사용하는 방법도 있음.

@font-face {
  font-family: 'Nanum Gothic';
  font-style: normal;
  src: url(NanumGothicCompact.eot);
  src: url(NanumGothicCompact.eot?#iefix) format('embedded-opentype'), url(NanumGothicCompact.woff2) format('woff2'), url(NanumGothicCompact.woff) format('woff'), url(NanumGothicCompact.ttf) format('truetype');
}
이런 식으로...

뭐 사실 금방 찾을수 있으나... 혹시 필요한 사람을위해 폰트 파일도 올려둠.

첨부파일 : 

nanumgothic.zip

#나눔고딕#웹폰트

📌프론트엔드 인기 글

목록으로 ›