Skip to content

Commit 70ac85e

Browse files
authored
Create bootsrap_components.html
1 parent 4e8fa55 commit 70ac85e

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
Bootsrap Components:
2+
1.Buttons:
3+
=============
4+
5+
https://getbootstrap.com/docs/5.3/components/buttons/
6+
7+
ex:
8+
index.html
9+
10+
<!DOCTYPE html>
11+
<html lang="en">
12+
13+
<head>
14+
<meta charset="UTF-8">
15+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
16+
<title>Bootstrap Components</title>
17+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha2/dist/css/bootstrap.min.css" rel="stylesheet"
18+
integrity="sha384-aFq/bzH65dt+w6FI2ooMVUpc+21e0SRygnTpmBvdBgSdnuTN7QbdgL+OapgHtvPp" crossorigin="anonymous"> <!---link to use the bootsrap in the html-->
19+
<style>
20+
21+
</style>
22+
</head>
23+
24+
<body>
25+
<button type="button" class="btn btn-success">ok</button> <!-------This is the place for Button components-------->
26+
</body>
27+
28+
</html>
29+
===========
30+
31+
2.Cards:
32+
==========
33+
<body>
34+
<div class="card" style="width: 18rem;">
35+
<img src="..." class="card-img-top" alt="...">
36+
<div class="card-body">
37+
<h5 class="card-title">Card title</h5>
38+
<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>
39+
<a href="#" class="btn btn-primary">Go somewhere</a>
40+
</div>
41+
</div>
42+
</body>
43+
44+
</html>
45+
--------------
46+
3.Navabar:
47+
=============
48+
https://getbootstrap.com/docs/5.3/components/navbar/
49+
50+
-------------
51+
4. Carousel:
52+
A slideshow component for cycling through elements—images or slides of text—like a carousel.
53+
-----------
54+
5.Spacing:
55+
===========
56+
Bootstrap includes a wide range of shorthand responsive margin, padding, and gap utility classes to modify an element’s appearance.

0 commit comments

Comments
 (0)