커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
폰트 컬러가 일부만 바뀝니다.
undefined주차
북마크
최*민
댓글
3
추천
0
조회수
7
조회수
7
답변 완료

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

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


영상대로 진행했는데 박스 일부만 텍스트컬러가 바뀌는데 왜이럴까요?

<!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>2023년 버킷리스트</title>

    <style>

        @import url('https://fonts.googleapis.com/css2?Flower&family=Hahmlet:wght@400;500;600;700&display=swap');


        *{

            font-family: 'Hahmlet', serif;

        }


        .title {

            color: white;

            background-color: tomato;

            font-size: 24px;

            padding: 8px 16px;

            border-radius: 8px;

        }


        .bg {

            width: 360px;

            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bg-grid.png");

        }


        .msg {

            font-weight: bold;

        }


        .bucket {

            width: 160px;

            height: 160px;

        }


        .img1 {

            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bucket-red.png");

            background-size: cover;

            background-position: center;

        }


        .img2 {

            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bucket-lightred.png");

            background-size: cover;

            background-position: center;

        }


        .img3 {

            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bucket-red.png");

            background-size: cover;

            background-position: center;

        }


        .img4 {

            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bucket-lightred.png");

            background-size: cover;

            background-position: center;

        }


        .img5 {

            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bucket-red.png");

            background-size: cover;

            background-position: center;

        }


        .img6 {

            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bucket-lightred.png");

            background-size: cover;

            background-position: center;

        }

    </style>

    <link rel="stylesheet" type="text/css"

        href="https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/sparta-bucket2.css">

</head>


<body class="bg-t3 center">

    <h1 class="title"> 2023년 신년계획 </h1>

    <p class="msg"> 얼마든지 할 수 있어 </p>

    <div class="row flex-row wrap">

        <div class="bucket img1 center">개발자 취업하기</div>

        <div class="bucket img2 center">운동을 습관화하기</div>

        <div class="bucket img3 center">7시마다 일어나기</div>

        <div class="bucket img4 center">여자친구 만들기</div>

        <div class="bucket img5 center">1</div>

        <div class="bucket img6 center">1</div>

    </div>


</body>


</html>


스파르타 즉문즉답







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