부트스트랩 5 무료 강좌 | 예제 8 : 디지털 명함 만들기 | bootstrap 그리드 시스템 | 카드 스타일
<!DOCTYPE html>
<html lang="KO">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity
="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<title>부트스트렙 디지털 명함!</title>
<style>
body {
background-image: url(images/bg-img.jpg);
background-position: center;
background-size: cover;
}
</style>
</head>
<body>
<section class="container">
<div class="card" style="width: 18rem;"> <img src="..." class="card-img-top" alt="..."> <div class="card-
body"> <h5 class="card-title">Card title</h5> <p class="card-text">Some quick example text to build on
the card title and make up the bulk of the card's content.</p> <a href="#" class="btn btn-primary">Go
somewhere</a> </div> </div>
<div class=".vh-100.d-flsx.justify-content-center.align-items-center">
</div>
</section>
</body>
</html>
첫댓글 https://haeeeell.tistory.com/38