커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
폰트가 바꾸지 않아요...
[왕초보] 웹개발 종합반 v0
1주차
북마크
박*욱
댓글
3
추천
0
조회수
9
조회수
9
답변 완료

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

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


강의 내용 그대로 코드를 입력하였는데 폰트가 바뀌지 않아 자세히 확인해보니 font-family가 파란색 글자로 바뀌지 않은 것을 확인하였습니다.

font-famaily 뒤에 내용이 적용되지 않은 듯 한데 어떻게 해결해야하나요??



스파르타 즉문즉답





<!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=Gowun+Dodum&display=swap') * {

            font-family: "Gowun Dodum", sans-serif;

        }


        .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
댓글 알림
나의얼굴