-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcard.html
47 lines (47 loc) · 2.06 KB
/
card.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>card</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="container mt-5 mb-5 pb-5">
<p class="text-capitalize display-6 text-danger">card: model...</p>
<p class="lead text-capitalize">basic card ,<code class="text-lowercase">class = card,card-header,card-body,card-footer</code></p>
<div class="card">
<div class="card-header">header-section</div>
<div class="card-body">body-section</div>
<div class="card-footer">footer-section</div>
</div>
<p class="lead text-capitalize">also add bg-colors</p>
<hr>
<hr>
<p class="text-capitalize display-6 text-danger">add img for card:</p>
<p class="lead text-capitalize">add img in card ,<code class="text-lowercase">class = card-title,card-text</code></p>
<div class="container">
<div class="card">
<img src="source/profile.jpg" alt="profile-img">
<div class="card-body">
<h3 class="card-title">Name</h3>
<div class="card-text">text-content</div>
</div>
</div>
</div>
<hr>
<hr>
<p class="text-capitalize display-6 text-danger">overlay of text:</p>
<p class="lead text-capitalize">overlay img in card , <code class="text-lowercase">class = card-img-overlay</code></p>
<div class="card">
<img src="source/profile.jpg" alt="profile-img">
<div class="card-img-overlay">
<h3 class="card-title text-light">Name</h3>
<div class="card-text text-light">text-content</div>
</div>
</div>
</div>
</body>
</html>