반응형
나눔바름고딕 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 부분은 웹프로그램 소스상에서 폰트 파일들이 어디에 위치하는지를 적어줍니다.
나눔고딕 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';}
반응형
'Softwares > Web Development' 카테고리의 다른 글
Python 을 통한 간단한 Web API 구축: Django REST Framework (0) | 2019.07.17 |
---|---|
Aspect Oriented Programming(관점지향프로그래밍) 소개 (4) | 2017.02.02 |