"Activity Feed"
Bootstrap 3.2.0 Snippet by i-heart-php

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
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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 ---------->
<h2>Activity Feed</h2>
<div class="activity-feed">
<div class="feed-item">
<div class="date">Sep 25</div>
<div class="text">Responded to need <a href="single-need.php">“Volunteer opportunity”</a></div>
</div>
<div class="feed-item">
<div class="date">Sep 24</div>
<div class="text">Added an interest “Volunteer Activities”</div>
</div>
<div class="feed-item">
<div class="date">Sep 23</div>
<div class="text">Joined the group <a href="single-group.php">“Boardsmanship Forum”</a></div>
</div>
<div class="feed-item">
<div class="date">Sep 21</div>
<div class="text">Responded to need <a href="single-need.php">“In-Kind Opportunity”</a></div>
</div>
<div class="feed-item">
<div class="date">Sep 18</div>
<div class="text">Created need <a href="single-need.php">“Volunteer Opportunity”</a></div>
</div>
<div class="feed-item">
<div class="date">Sep 17</div>
<div class="text">Attending the event <a href="single-event.php">“Some New Event”</a></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
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
/* apply a natural box layout model to all elements, but allowing components to change */
.activity-feed {
padding: 15px;
}
.activity-feed .feed-item {
position: relative;
padding-bottom: 20px;
padding-left: 30px;
border-left: 2px solid #e4e8eb;
}
.activity-feed .feed-item:last-child {
border-color: transparent;
}
.activity-feed .feed-item:after {
content: "";
display: block;
position: absolute;
top: 0;
left: -6px;
width: 10px;
height: 10px;
border-radius: 6px;
background: #fff;
border: 1px solid #f37167;
}
.activity-feed .feed-item .date {
position: relative;
top: -5px;
color: #8c96a3;
text-transform: uppercase;
font-size: 13px;
}
.activity-feed .feed-item .text {
position: relative;
top: -3px;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

how to add activity in html?

Haseeb Butt () - 8 years ago - Reply 0