
구글 폰트에서 폰트 가져와서 변경하는게 안 되네요..
뭐가 문제인지 도통 모르겠어요
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=<device-width>, initial-scale=1.0">
<title>Document</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&display=swap');
*{.black-han-sans-regular {
font-family: "Black Han Sans", sans-serif;
font-weight: 400;
font-style: normal;
}
}
.mytitle {
width: 300px;
height: 200px;
background-color: green;
color: white;
text-align: center;
padding-top: 30px;
border-radius: 8px;
background-image: url(https://www.ancient-origins.net/sites/default/files/field/image/Agesilaus-II-cover.jpg);
background-position: center;
background-size: cover;
}
.wrap {
width: 300px;
margin: 50px auto 0px auto;
}
.mybtn {
padding: 30px
}
</style>
</head>
