
질문1. 코드 56번 <h1> 안에 글자를 창 크기를 줄이고 늘리는 것에 따라 글자크기가 자동으로 조절되게 하고 싶습니다. (전체코드는 맨아래 첨부)
<body>
<h1 class="myTitle">아이브 팬명록</h1>
질문2. 글자를 굵게 하거나 다른 색으로 글자 테두리를 적용할 수는 없나요?
---전체코드-----------------------------------------------------------------------------
<!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>
<style>
.myTitle{
/*background-color: green;*/
height: 258px;
width: 100%;
background-image: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),url("https://img.theqoo.net/img/IRjpp.jpg");
background-position: center;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: yellow;
font-size: 50px;
}
.mypost{
/*background-color: green;*/
max-width: 500px;
width: 95%;
margin: 20px auto 0px auto;
box-shadow: 0px 0px 3px 0px;
padding: 20px;
}
.mycard{
max-width: 500px;
width: 95%;
margin: 20px auto 0px auto;
}
.mycard > .card{
margin-top: 10px;
margin-bottom: 10px;
}
</style>
<title>스파르타코딩클럽 | 부트스트랩 연습하기</title>
</head>
<body>
<h1 class="myTitle">아이브 팬명록</h1>
<div class="mypost">
<div class="form-floating mb-3">
<input type="text" class="form-control" id="floatingInput" placeholder="nickname">
<label for="floatingInput">닉네임</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" id="floatingInput2" placeholder="comment" style="height: 100px">
<label for="floatingInput2">응원댓글</label>
</div>
<button type="button" class="btn btn-dark">응원 남기기</button>
</div>
<div class = "mycard">
<div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<p>아이브 짱!</p>
<footer class="blockquote-footer">다이브</footer>
</blockquote>
</div>
</div>
<div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<p>아이브 짱!</p>
<footer class="blockquote-footer">다이브</footer>
</blockquote>
</div>
</div>
<div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<p>아이브 짱!</p>
<footer class="blockquote-footer">다이브</footer>
</blockquote>
</div>
</div>
</div>
</body>
</html>
