프밍/CSS
DAY 9. Google Font
태영(泰伶)
2022. 11. 2. 22:26
https://fonts.google.com/?subset=korean&preview.size=64&preview.layout=row
Google Fonts
Making the web more beautiful, fast, and open through great typography
fonts.google.com
책에 나온 Nanum Pen Script로
web font를 바꿔봐야겠다.
위의 링크 Google Font로 들어가서
Language를 Korean으로 고르고
Nanum Pen Script 찾아서 클릭해 들어가서 스크롤을 조금만 내리면 아래 화면이 나온다.


<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>구글 폰트 사용하기</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap');
h1 {
font-size: 60px;
font-weight: bold;
font-family: 'Nanum Pen Script', cursive;
}
</style>
</head>
<body>
<h1>HTML+CSS+JavaScript</h1>
</body>
</html>
↓
