커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
center 적용후 제목 부분이 사라졌어요
undefined주차
북마크
S***N
댓글
5
추천
0
조회수
21
조회수
21
답변 완료
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

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


center를 각각 붙였더니 몇몇 부분들이 잘리고 스크롤이 안돼요







<!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?family=Nanum+Pen+Script&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Nanum+Brush+Script&family=Nanum+Pen+Script&display=swap');
        * {
            font-family: 'Nanum Pen Script', cursive;
        }
        .title {
            font-family: 'Nanum Brush Script', cursive;
            margin-top: 37px;
        }
        .bg {
            width: 360px;
            height: 360px;
            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bg-grid.png");
        }
        .title {
            color: antiquewhite;
            font-size: 45px;


            border-radius: 15px;
            padding: 5px 20px;


            background-color: salmon;
        }
        .sub {
            font-weight: bold;
        }
        .bucket {
            width: 160px;
            height: 160px;
            font-size: 20px;
        }
        .i1 {
            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bucket-red.png");
            background-size: cover;
            background-position: center;
            color: antiquewhite;
        
        }
        .i2 {
            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bucket-lightred.png");
            background-size: cover;
            background-position: center;
            color: salmon;
        }
    </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 center">
    <h1 class = "title">2023 신년계획</h1>
    <p class="sub">올해는 꼭 지키자!</p>
    <div class="row flex-row wrap">
        <div class="bucket i1 center">운동 주 2회 이상!</div>
        <div class="bucket i2 center">앱 개발하기!</div>
        <div class="bucket i1 center">자바스크립트 격파!</div>
        <div class="bucket i2 center">매일 3시간 이상 공부!</div>
        <div class="bucket i1 center">지인들 선물 챙겨주기!</div>
        <div class="bucket i2 center"></div>
    </div>
</body>


</html>
취소
 공유
취소
댓글 0
댓글 알림
나의얼굴