"Rating Card"
Bootstrap 3.0.0 Snippet by Frank2903

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
<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 ---------->
<!-- http://www.jquery2dotnet.com/ -->
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-6">
<div class="well well-sm">
<div class="row">
<div class="col-xs-12 col-md-6 text-center">
<h1 class="rating-num">
4.0</h1>
<div class="rating">
<span class="glyphicon glyphicon-star"></span><span class="glyphicon glyphicon-star">
</span><span class="glyphicon glyphicon-star"></span><span class="glyphicon glyphicon-star">
</span><span class="glyphicon glyphicon-star-empty"></span>
</div>
<div>
<span class="glyphicon glyphicon-user"></span>1,050,008 total
</div>
</div>
<div class="col-xs-12 col-md-6">
<div class="row rating-desc">
<div class="col-xs-3 col-md-3 text-right">
<span class="glyphicon glyphicon-star"></span>5
</div>
<div class="col-xs-8 col-md-9">
<div class="progress progress-striped">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="20"
aria-valuemin="0" aria-valuemax="100" style="width: 80%">
<span class="sr-only">80%</span>
</div>
</div>
</div>
<!-- end 5 -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
/* http://www.jquery2dotnet.com/ */
body{ margin-top:20px;}
.glyphicon { margin-right:5px;}
.rating .glyphicon {font-size: 22px;}
.rating-num { margin-top:0px;font-size: 54px; }
.progress { margin-bottom: 5px;}
.progress-bar { text-align: left; }
.rating-desc .col-md-3 {padding-right: 0px;}
.sr-only { margin-left: 5px;overflow: visible;clip: auto; }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: