
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
영상대로 진행했는데 박스 일부만 텍스트컬러가 바뀌는데 왜이럴까요?
<!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>
