-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
59 lines (59 loc) · 2.23 KB
/
example.html
File metadata and controls
59 lines (59 loc) · 2.23 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
<!DOCTYPE html>
<html>
<head>
<title>Circle bar demo</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="Circle bar demo">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="circle-bar.css">
</head>
<body>
<div id="circle-bar"></div>
</body>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="circle-bar.js"></script>
<script type="text/javascript">
$(document).ready(function() {
CircleBar().init(
"#circle-bar",
{
text: "Insert your text",
lineColor: "#1d8eff",
lineBgColor: "rgb(150, 203, 255)",
backgroundColor: "white",
lineWidth: "15",
lineWidthHover: "7",
bgLineWidth: "10",
bgLineWidthHover: "4",
lineDuration: "200ms",
lineDelay: "100ms",
diameter: "300",
viewPourcentage: true,
textCSS: {
"color": "#a0a0a0",
"font-weight": "bold",
"font-family": "Verdana, Arial, Helvetica, sans-serif",
"font-size": "1rem"
},
textHoverCSS: {
"font-size": "1.5rem",
"color": "#1d8eff"
},
pourcentageCSS: {
"color": "#a0a0a0",
"font-weight": "bold",
"font-family": "Verdana, Arial, Helvetica, sans-serif",
"text-transform": "uppercase",
"font-size": "1rem"
},
pourcentageHoverCSS: {
"font-size": "1.5rem",
"color": "#1d8eff"
}
},
75
);
});
</script>
</html>