log 2015. 5. 1. 11:28
@font-face {
font-family:NanumGothic;
font-weight:300;
src:url(fonts/nanumgothic.eot);
src:local('※'), url(fonts/nanumgothic.woff) format('woff');
}
@font-face {
font-family:NanumGothic;
font-weight:600;
src:url(fonts/nanumgothic-Bold.eot);
src:local('※'), url(fonts/nanumgothic-Bold.woff) format('woff');
}
body {font-family:나눔고딕, 'NanumGothic', ngwoff, ngeot;}
시스템 글꼴이 없는 경우 IE6~9 브라우저에서 eot형식외에 woff형식도 요청 하기 때문에 사용자는 불필요한 1MB미만의 파일을 추가로 내려받는다.
@font-face {
font-family:ngwoff;
src:url('fonts/NanumGothic.woff');
}
@font-face {
font-family:ngeot;
src:url('fonts/NanumGothic.eot');
}
body{font-family:나눔고딕, 'NanumGothic', ngwoff, ngeot;}
@font-face {
font-family:ng;
src:url('fonts/NanumGothic.eot');
src:local(※), url('fonts/NanumGothic.woff') format('woff')
}
body {font-family:"나눔고딕", 'NanumGothic', ng;}