-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (36 loc) · 1.14 KB
/
index.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
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Animated Progress Bars</title>
<link rel="stylesheet" href="css/jquery.progressBar.css" />
<script src="lib/jquery.min.js"></script>
<script src="lib/jquery.progressBar.min.js"></script>
<script src="lib/velocity.min.js"></script>
<script>
$(document).ready(function() {
$(".default").progressBar();
$(".pink").progressBar({ fillColor: "#f5a1e0" });
$(".yellow").progressBar({ fillColor: "#e6c863" });
$(".green").progressBar({ fillColor: "#86d936" });
$(".orange").progressBar({ fillColor: "#ef8338" });
});
</script>
<style type="text/css">
section {
margin: 0 auto;
width: 40%;
}
</style>
</head>
<body>
<section>
<div class="progress default" data-step="1" data-total="5"></div>
<div class="progress pink" data-step="2" data-total="5"></div>
<div class="progress yellow" data-step="3" data-total="5"></div>
<div class="progress green" data-step="4" data-total="5"></div>
<div class="progress orange" data-step="5" data-total="5"></div>
</section>
</body>
</html>