- 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>
<title>์คํ๋ฅดํ์ฝ๋ฉํด๋ฝ | ๋ถํธ์คํธ๋ฉ ์ฐ์ตํ๊ธฐ</title>
<link href="https://fonts.googleapis.com/css2?family=Poor+Story&display=swap" rel="stylesheet">
<style>
*{
font-family: 'Poor Story', cursive;
}
.mytitle {
max-width: 100%;
height: 600px;
background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://img.vogue.co.kr/vogue/2021/12/style_61c299401f4b3.jpeg");
background-position: center;
background-size: cover;
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.card {
max-width: 95%;
width: 500px;
height:100px;
margin: 10px auto 0px auto;
;
}
.mypost {
max-width: 95%;
width: 500px;
height: 300px;
background-color: transparent;
color: black;
border-radius: 5px;
border: 1px solid grey;
margin: 20px auto;
padding: 20px;
}
.mypost > button {
margin: 20px auto;
}
</style>
</head>
<body>
<div class="mytitle">
<h1>์์ด์ ํฌ๋ช
๋ก</h1>
</div>
<div class="mypost">
<div class="form-floating mb-3">
<input type="email" class="form-control" id="floatingInput" placeholder="๋๋ค์">
<label for="floatingInput">๋๋ค์</label>
</div>
<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 class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<p>์จ๋ฒ ๋๋ฌด ์ข์์!</p>
<footer class="blockquote-footer">์์ด๋ฌ๋ธ์ </cite></footer>
</blockquote>
</div>
</div>
<div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<p>์จ๋ฒ ๋๋ฌด ์ข์์!</p>
<footer class="blockquote-footer">์์ด๋ฌ๋ธ์ </cite></footer>
</blockquote>
</div>
</div>
<div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<p>์จ๋ฒ ๋๋ฌด ์ข์์!</p>
<footer class="blockquote-footer">์์ด๋ฌ๋ธ์ </cite></footer>
</blockquote>
</div>
</div>
</body>
</html>