일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- 아기옷
- 아이프레임유튜브썸네일
- 해시스크롤이동
- 특정위치고정
- youtubeiframethumbnail
- scroll이동
- 서브라임git연동하는 방법
- 아이옷
- sublime+git
- 하단fixed
- 연동하는방법
- 하단특정위치
- css3 animate
- 달콤한바느질
- 텍스트추출
- css3예제
- css애니메이션효과
- 스크롤하단
- css효과
- 애니메니션효과
- 아이프레임유튜브썸네일변경
- 이미지텍스트추출
- 이미지텍스트변환
- youtubethumbnail
- 서브라임+git
- 하단스크롤
- PC에서텍스트추출
- 서브라임git
- sublimetextgit연동
- 앵커이동
Archives
- Today
- Total
개인공간
[CSS] font-face 본문
반응형
이번에 font-face를 사용해서 홈페이지를 만들었는데 문제 발생을 하였다.
아래처럼 작업했더니 웹호스팅에서 적용을 못해주는거였다. 서버도 다 환경에 맞게 수정했는데도 안되었다.
@font-face{ font-family:NanumBG; src:url(/front/com/font/NanumBarunGothic.eot); src:local(NanumBarunGothic), url(/front/com/font/NanumBarunGothic.woff) format('woff'); src:local(NanumBarunGothic), url(/front/com/font/NanumBarunGothic.ttf) format('truetype'); }
[보완 : 아래처럼 써보길]
@font-face{ font-family:ng; src:url(NanumGothic.eot); src:local(※), url(NanumGothic.woff) format(‘woff’), url(NanumGothic.otf) format(opentype) }
@font-face { font-family: 'Nanum Barun Gothic'; font-style: normal; font-weight: 400; src: local('Nanum Barun Gothic Regular'), local('Nanum Barun Gothic-Regular'), local('NanumBarunGothic Regular'); src: url(../fonts/NanumBarunGothic.eot); src: url(../fonts/NanumBarunGothic.eot?#iefix) format('embedded-opentype'), url(../fonts/NanumBarunGothic.woff) format('woff'), url(../fonts/NanumBarunGothic.ttf) format('truetype'); }
반응형
'IT정보 > CSS_CSS3' 카테고리의 다른 글
[css] ol 자동 리스트 (0) | 2017.01.23 |
---|---|
[CSS] 모바일버전 미디어쿼리 (0) | 2015.12.15 |
[CSS3] css3 레이아웃 잡기(display:box) (0) | 2014.01.29 |
[CSS3] before을 이용한 리스트형태 (0) | 2014.01.28 |
[CSS3] 모바일버튼 (0) | 2014.01.28 |