커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
폰트 적용이 안 됩니다..
[왕초보] 코딩이 처음이어도 쉽게 배우는 웹개발 A to Z v0
1주차
북마크
배*민
댓글
3
추천
0
조회수
15
조회수
15
답변 완료

구글 폰트에서 폰트 가져와서 변경하는게 안 되네요..


뭐가 문제인지 도통 모르겠어요

<!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>


취소
 공유
취소
댓글 0
댓글 알림
나의얼굴