
팬명록 그림이 그림 아래쪽으로 잡혀서요...
좀더 위쪽을 잡으려면 어떻게 해야할까요
코드는 아래와 같아요.
<!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>
<title>스파르타코딩클럽 | 부트스트랩 연습하기</title>
</head>
<style>
.mytitle {
width: 100%;
height: 250px;
background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url("https://w.namu.la/s/2e8917ab574874a19d5161d77bc0ab871da74c4ad919321f6629cc029a71118fa63dbe25213eabc5177f6daf0d92cd524847301c6c0f37436ccefcd0fa2b9425bb502b8f476823d054949977217dc8c8d0a388d2495eece2c573b13cf16b9d4169dbadb1d39426cbb79d5eebbc5f41ee");
background-position: center;
background-size: cover;
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
</style>
<body>
<div class="mytitle">
<h1>이수영 팬명록</h1>
</div>
</body>
</html>
