
링크 걸어 놓은 4개 박스의 간격을 떼고 싶습니다.* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
작성한 코드 및 에러 메세지
<!DOCTYPE html>
<html>
<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"/>
<meta property="og:title" content="르탄이 - 프로필 링크"/>
<meta property="og:description" content="어서와 코딩은 처음이지?"/>
<meta property="og:image" content="공유할 이미지"/>
<title>르탄이 - 프로필 링크</title>
<style>
body {
background-color: #44398A;
}
.profile {
width: 100px;
height: 100px;
border-radius: 100%;
border: 2px solid white;
background-image: url('cc-logo-white.png');
background-position: center;
background-size: cover;
}
.main {
color: white;
font-size: 20px;
margin-top: 30px;
margin-bottom: 10px;
}
.sub {
color: white;
font-size: 14px;
margin-top: 0px;
margin-bottom: 30px;
}
.wrap {
width: 350px;
margin: 30px auto 0px auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.content {
width: 1000px;
height: 50px;
border: 1px solid #c3c3c3;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.box {
width: 150px;
height: 50px;
border-radius: 8px;
}
#col-rev {
flex-direction: column-reverse;
}
#row-rev {
flex-direction: row-reverse;
}
.red {
background-color: rgb(24, 235, 48);
}
.lightblue {
background-color: lightblue;
}
.yellow {
background-color: yellow;
}
.green {
background-color: red;
}
</style>
</head>
<body>
<div class="wrap">
<div class="profile"></div>
<h1 class="main">중국어 노마드 친친쌤</h1>
<p class="sub">언제 어디서나 ZOOM으로 함께 공부할 수 있어요!</p>
</div>
<div class="wrap">
<div id="row-rev" class="content">
<div class="box red"><a target="_blank" href="https://chang.spartacodingclub.kr/">수능 중국어</a></div>
<div class="box lightblue"><a target="_blank" href="https://hanghae99.spartacodingclub.kr/">문법</a></div>
<div class="box yellow"><a target="_blank" href="https://spartacodingclub.kr/">H S K</a></div>
<div class="box green"><a target="_blank" href="https://chang.spartacodingclub.kr/">수능 중국어</a></div>
</div>
</div>
</body>
</html>
