forked from whatnickcodes/CSS3_Animated_Progress_Bar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
144 lines (55 loc) · 1.72 KB
/
index.php
File metadata and controls
144 lines (55 loc) · 1.72 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!doctype html>
<html>
<head>
<!-- Begin Meta -->
<meta charset=utf-8>
<meta name=author content="Nicholas Cerminara">
<meta name=description content="An Open-Source and Free Animated Progress Bar made entirely in pure CSS3">
<meta name=apple-mobile-web-app-status-bar-style content="black">
<!-- End Meta -->
<!-- Begin CSS -->
<link href="http://fonts.googleapis.com/css?family=Lato:300" rel="stylesheet">
<link href="progressbar.css" rel=stylesheet>
<!-- End CSS -->
<!-- Begin JS -->
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script<![endif]-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<!-- End JS -->
<title>Pure CSS3 Progress Bar that's Open-Source and Free</title>
</head>
<body>
<?php
$percent = '33';
?>
<style>
.width { width: <?php echo $percent; ?>%; }
@keyframes boomshakalaka {
from { width: 0%; }
to { width: <?php echo $percent; ?>%; }
}
/* Safari Chrome */
@-webkit-keyframes boomshakalaka {
from { width: 0%; }
to { width: <?php echo $percent; ?>%; }
}
/* FireFox */
@-moz-keyframes boomshakalaka {
from { width: 0%; }
to { width: <?php echo $percent; ?>%; }
}
/* Opera */
@-o-keyframes boomshakalaka {
from { width: 0%; }
to { width: <?php echo $percent; ?>%; }
}
/* IE 10 */
@-ms-keyframes boomshakalaka {
from { width: 0%; }
to { width: <?php echo $percent; ?>%; }
}
</style>
<div class="bar_shell">
<span class="bar aesthetics boomshakalaka width"></span>
</div>
</body>
</html>