@import url(http://fonts.googleapis.com/earlyaccess/nanumgothiccoding.css);
@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);
html, body, p, div {
font-family:'consolas','Nanum Gothic Coding','Nanum Gothic','Malgun Gothic','맑은 고딕','돋움',Dotum,'굴림',Gulim !important; }
이런식,
http://www.google.com/fonts/earlyaccess
여기에서 적용하고 싶은 폰트를 찾고
맨 위로 import
얼리 억세스 방식으로 맨앞 폰트부터 적용된다.
따라서 consolas가 먼저 적용되고, consolas는 한글 폰트가 없으므로, 2번째 적어준 나눔고딕 폰트가 아직 적용이 안된 한글폰트로 적용이 된다.
참고 블로그 : http://eastsocial.co.kr/2012/10/904
--> 나눔고딕 적용 법..
'Study > UI' 카테고리의 다른 글
[html] tabindex 속성 초 간단 설명 (0) | 2014.10.21 |
---|---|
[css] box-shadow 그림자 넣기 (0) | 2014.10.01 |
[html] <a> 태그 링크 관련 (0) | 2014.06.03 |
[css] css 연습1 (1) | 2014.06.03 |
[JQuery] 본문 내용 변화할 때 fade in & out 효과주기 (2) | 2014.05.12 |
[bootstrap] 부트스트랩 자바스크립트 (0) | 2014.05.12 |