"KoPub바탕체 웹폰트"의 두 판 사이의 차이

잔글 (121.130.28.2(토론)의 편집을 Jmnote의 마지막 판으로 되돌림)
6번째 줄: 6번째 줄:


<style>
<style>
div { font-family: 'KoPub Batang'; font-size: 1.0em; }
div { font-family: 'KoPub Batang'; font-size: 2em; }
div:nth-of-type(1) { font-weight: 300; }
div:nth-of-type(1) { font-weight: 300; }
div:nth-of-type(2) { font-weight: 400; }
div:nth-of-type(2) { font-weight: 400; }

2018년 1월 23일 (화) 18:23 판

KoPub바탕체 웹폰트

1 구글

<link rel='stylesheet' href='//fonts.googleapis.com/earlyaccess/kopubbatang.css'>

<style>
div { font-family: 'KoPub Batang'; font-size: 2em; }
div:nth-of-type(1) { font-weight: 300; }
div:nth-of-type(2) { font-weight: 400; }
div:nth-of-type(3) { font-weight: 700; }
</style>

<div>안녕하세요 1</div>
<div>안녕하세요 2</div>
<div>안녕하세요 3</div>

2 jsdelivr

<link rel='stylesheet' href='//cdn.jsdelivr.net/font-kopub/1.0/kopubbatang.css'>

<style>
div { font-family: 'KoPub Batang'; font-size: 2em; }
div:nth-of-type(1) { font-weight: 300; }
div:nth-of-type(2) { font-weight: 400; }
div:nth-of-type(3) { font-weight: 700; }
</style>

<div>안녕하세요 1</div>
<div>안녕하세요 2</div>
<div>안녕하세요 3</div>

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}