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

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

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


2-2 강의 3분대에서 .main을 똑같이 했지만 저는 색깔이 바뀌지 않습니다.

뭐가 문제인가요?



스파르타 즉문즉답





작성한 코드 및 에러 메세지

<!DOCTYPE html>

<html lang="en">


<head>

    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">


    <title>스파르타플릭스</title>

    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"

        integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">


    <style>

        @import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap');


        * {

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

        }


        .main {

            background-color: green;

            color: white;

        }

    </style>

</head>


<body>

    <div>

        <div class="p-5 mb-4 bg-body-tertiary rounded-3">

            <div class="container-fluid py-5">

                <h1 class="display-5 fw-bold">킹덤</h1>

                <p class="col-md-8 fs-4">병든 왕을 둘러싸고 흉흉한 소문이 떠돈다. 어둠에 뒤덮인 조선, 기이한 역병에 신음하는 산하. 정체 모를 악에 맞서 백성을 구원할 희망은 오직

                    세자뿐이다.</p>

                <button class="btn btn-primary btn-lg" type="button">영화 기록하기</button>

                <button class="btn btn-primary btn-lg" type="button">상세정보</button>

            </div>

        </div>

    </div>


</body>


</html>




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