커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
버킷리스트 내용들이 한 줄로 나와요
undefined주차
북마크
김*현
댓글
13
추천
0
조회수
23
조회수
23
답변 완료

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

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


강의를 끝까지 들은 후 버킷리스트 속 내용이 너무 꽉 차게 들어가서 bucket에 padding을 설정해주니 버킷리스트 종이들이 한줄로 배열되네요

padding을 유지한 채로 버킷을 두 줄로 나열하려면 어떻게 해야하나요?



스파르타 즉문즉답





<!DOCTYPE html>
	<html lang="ko">
	

	<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=Hahmlet:wght@400;500;600;700&display=swap');
	

	        * {
	            font-family: 'Hahmlet', serif;
	        }
	

	        .bg {
	            width: 360px;
	            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bg-grid.png");
	            background-size: cover;
	            background-position: center;
	

	            margin: auto;
	        }
	

	        .title {
	            color: rgb(255, 255, 255);
	            background-color: rgb(234, 106, 14);
	            font-size: 24px;
	            padding: 4px 14px;
	            border-radius: 8px;
	        }
	

	        .msg {
	            font-weight: bold;
	            margin: -5px 0 15px;
	        }
	

	        .bucket {
	            width: 160px;
	            height: 160px;
	            background-size: cover;
	            background-position: center;
	            padding: 10px 10px;
	        }
	

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

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

	    </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">2023 뿌시자</p>
	    <div class="row flex-row wrap">
	        <div class="bucket img1 center">자격증 아무거나 하나 이상 따기</div>
	        <div class="bucket img2 center">자격증 아무거나 하나 이상 따기</div>
	        <div class="bucket img2 center">자격증 아무거나 하나 이상 따기</div>
	        <div class="bucket img1 center">자격증 아무거나 하나 이상 따기</div>
	        <div class="bucket img1 center">자격증 아무거나 하나 이상 따기</div>
	        <div class="bucket img2 center">자격증 아무거나 하나 이상 따기</div>
	    </div>
	

	</body>
	

	</html>


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