구글웹폰트 api를 이용하여 나눔폰트 적용하기


아래 코드를 style.css 파일 상단에 넣고, 폰트를 적용하고 싶은 클래스에 각각 나눔폰트를 지정해주면 됩니다.


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

1
2
3
4
5
6
body {
color: #666666;
font-family: 'Nanum Gothic','Nanum myeongjo','Lucida Sans Unicode','Lucida Grande','Arial',sans-serif;
font-size: 12px;
line-height: 20px;
}

출처:http://ibnet.co.kr/


Posted by 잔머리

블로그 이미지
잔머리를 굴려... 큰머리로.. 작은게 모여 큰것을 이루듯.. 우리의 작은 지식이 모여 큰 지식이 되기르_)*(_
잔머리

태그목록

공지사항

Yesterday
Today
Total

달력

 « |  » 2024.4
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함