커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
1-9주차 폰트넣기 적용이 안되요
코딩이 처음이어도 쉽게 배우는 웹개발 A to Z
챕터 1
북마크
김*연
댓글
3
추천
0
조회수
7
조회수
7
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.



구글폰트에서 코드 복사해서 넣었는데 적용이 안되는것 같아요
스파르타 즉문즉답






<!DOCTYPE html>
<html lang="en">


<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo&display=swap');


        * {
            .nanum-myeongjo-regular {
                font-family: "Nanum Myeongjo", serif;
                font-weight: 400;
                font-style: normal;
            }
        }


        .mytitle {
            width: 300px;
            height: 200px;


            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;


        }
    </style>
</head>


<body>
    <div class="wrap">
        <div class="mytitle">
            <h1>로그인 페이지</h1>
            <h5>아이디, 비밀번호를 입력해주세요</h5>
        </div>


        <p>ID : <input type="text" /></p>
        <p>PW : <input type="text" /></p>
        <button> 로그인하기</button>
    </div>
</body>


</html>



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