forked from HarryPoter0/Front-end_Development
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgressBar.html
More file actions
32 lines (30 loc) · 1.28 KB
/
ProgressBar.html
File metadata and controls
32 lines (30 loc) · 1.28 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.4/dist/jquery.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="container">
<h2>Basic Progress Bar</h2>
<p>To create a default progress bar, add a .progress class to a container element and add the progress-bar class to its child element. Use the CSS width property to set the width of the progress bar:</p>
<div class="progress" style="margin-bottom:15px;">
<div class="progress-bar" style="width:70%"></div>
</div>
<div class="progress" style="margin-bottom:15px;">
<div class="progress-bar" style="width:90%"></div>
</div>
<div class="progress" style="margin-bottom:15px;">
<div class="progress-bar" style="width:10%"></div>
</div>
<div class="progress">
<div class="progress-bar" style="width:99%"></div>
</div>
</div>
</body>
</html>