"Keyframe roll"
Bootstrap 3.0.0 Snippet by BlueCircle

1
2
3
4
5
6
7
8
9
10
11
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="wrapper">
<div class="speedometer">
<div class="pointer"></div>
</div>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
body {
background: #222;
}
.wrapper {
margin: 30px auto;
width: 200px;
}
.wrapper .speedometer {
width: 200px;
height: 100px;
background: #666;
-moz-border-radius: 200px 200px 0 0;
-webkit-border-radius: 200px;
border-radius: 200px 200px 0 0;
position: relative;
}
.wrapper .speedometer .pointer {
position: absolute;
bottom: 0px;
left: 50%;
width: 0;
height: 0;
}
.wrapper .speedometer .pointer:after {
content: "";
display: block;
width: 40px;
height: 20px;
-moz-border-radius: 40px 40px 0 0;
-webkit-border-radius: 40px;
border-radius: 40px 40px 0 0;
background: #333;
position: absolute;
bottom: -10px;
left: -20px;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: