"Upcoming Events Widget"
Bootstrap 3.3.0 Snippet by smarkdurbin

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="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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 ---------->
<!-- Container, Row, and Column used for illustration purposes -->
<div class="container">
<div class="row">
<div class="col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3 col-xs-8 col-xs-offset-2">
<!-- Fluid width widget -->
<div class="panel panel-danger">
<div class="panel-heading">
<h3 class="panel-title">
<span class="glyphicon glyphicon-calendar"></span>·
Calendar Events
</h3>
</div>
<div class="panel-body">
<ul class="media-list">
<li class="media">
<div class="media-left">
<div class="panel panel-danger text-center date">
<div class="panel-heading month">
<span class="panel-title strong">
Mar
</span>
</div>
<div class="panel-body day text-danger">
23
</div>
</div>
</div>
<div class="media-body">
<h4 class="media-heading">
Pulvinar Mauris Eu
</h4>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Using panels to display blog date */
.panel.date {
margin: 0px;
width: 60px;
text-align: center;
}
.panel.date .month {
padding: 2px 0px;
font-weight: 700;
text-transform: uppercase;
}
.panel.date .day {
padding: 3px 0px;
font-weight: 700;
font-size: 1.5em;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: