커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
링크 걸어 놓은 박스의 간격을 떼고 싶습니다
undefined주차
북마크
이*정
댓글
12
추천
0
조회수
9
조회수
9
답변 완료

링크 걸어 놓은 4개 박스의 간격을 떼고 싶습니다.* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

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


  1. 링크 걸어 놓은 4개 박스의 간격을 떼고 싶습니다.
  2. 링크 걸어 놓은 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>





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