
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
과제를 하던 중에 박스 안에 부트 스트랩에서 복사해 온 항목들을 넣는 부분이 있었는데요
사진처럼 하니까 각 항목마다의 간격이 띄어져 있지 않은 상태로 나옵니다.
강의에서는 그냥 부트 스트랩에서 긁어 오니까 바로 개체마다 일정 간격이 띄어져서 나오는데
실제로 그냥 긁어서 붙여 넣으니까 띄어지지가 않습니다.


<HTML 파일입니다>

<이건 CSS파일입니다>


<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"><script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"crossorigin="anonymous"></script><link rel="stylesheet" type="text/css" href="mystyle.css">
<title>과제물</title>
</head>
<body><div class="mytitle"><h1>오사카 여행 후기 모음</h1></div>
<div class="wrap"><div class="mypost"><form class="form-floating"><input type="email" class="form-control" id="floatingInputValue" placeholder=""><label for="floatingInputValue">닉네임</label></form><div class="form-floating"><textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea2"style="height: 100px"></textarea><label for="floatingTextarea2">소감 한마디</label></div><button type="button" class="btn btn-dark">등록하기</button></div></div>
</body>
</html>
mystyle.css
@font-face {
font-family: 'SANGJUGyeongcheonIsland';
src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2112@1.0/SANGJUGyeongcheonIsland.woff') format('woff');
font-weight: normal;
font-style: normal;
}
* {
font-family: 'SANGJUGyeongcheonIsland', serif;
} .mytitle {
background-color: blue;
width: 100%;
height: 250px;
background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("http://img.modetour.com/eagle/photoimg/10648/Rfile/635116574873355490.jpg");
background-position: center;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
} .wrap {
width: 1200px;
margin: 20px auto 0 auto;
} .mypost {
width: 500px;
margin: 20px auto 0 auto;
box-shadow: 0 0 3px 0 gray;
padding: 20px;
} .mypost > textarea {
margin-top: 10px;
}
