-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcards.html
156 lines (149 loc) · 3.92 KB
/
cards.html
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<div data-page="cards" class="page" style="padding: 5px 9px;">
<!--HEADER開始-->
<div class="navbar">
<div class="navbar-inner">
<div class="left">
<a href="#" class="back link"><i class="icon icon-back"></i><span>上一頁</span></a>
</div>
<div class="center">
cards
</div>
<div class="right">
<a href="#" data-panel="right" class="link icon-only open-panel"><i class="icon icon-bars"></i></a>
</div>
</div>
</div>
<!--HEADER結束-->
<!--要捲動的頁面區塊開始-->
<div class="page-content">
<style>
.facebook-card .card-header
{
display: block;
padding: 10px;
}
.facebook-card .facebook-avatar
{
float: left;
}
.facebook-card .facebook-name
{
margin-left: 44px;
font-size: 14px;
font-weight: 500;
}
.facebook-card .facebook-date
{
margin-left: 44px;
font-size: 13px;
color: #8e8e93;
}
.facebook-card .card-footer
{
background: #fafafa;
}
.facebook-card .card-footer a
{
color: #81848b;
font-weight: 500;
}
.facebook-card .card-content img
{
display: block;
}
.facebook-card .card-content-inner
{
padding: 15px 10px;
}
.demo-card-header-pic .card-header
{
height: 40vw;
background-size: cover;
background-position: center;
}
</style>
<div class="card facebook-card">
<div class="card-header no-border">
<div class="facebook-avatar"><img src="img/photo.jpg" width="34" height="34"></div>
<div class="facebook-name">John Doe</div>
<div class="facebook-date">Monday at 3:47 PM</div>
</div>
<div class="card-content"><img src="img/timeline.jpg" width="100%"></div>
<div class="card-footer no-border">
<a href="#" class="link">Like</a>
<a href="#" class="link">Comment</a>
<a href="#" class="link">Share</a>
</div>
</div>
<div class="card facebook-card">
<div class="card-header">
<div class="facebook-avatar"><img src="img/photo.jpg" width="34" height="34"></div>
<div class="facebook-name">John Doe</div>
<div class="facebook-date">Monday at 2:15 PM</div>
</div>
<div class="card-content">
<div class="card-content-inner">
<p>What a nice photo i took yesterday!</p>
<img src="img/timeline.jpg" width="100%">
<p class="color-gray">Likes: 112 Comments: 43</p>
</div>
</div>
<div class="card-footer">
<a href="#" class="link">Like</a>
<a href="#" class="link">Comment</a>
<a href="#" class="link">Share</a>
</div>
</div>
<div class="card demo-card-header-pic">
<div style="background-image:url(img/style.jpg)" valign="bottom" class="card-header color-white no-border">Journey To Mountains</div>
<div class="card-content">
<div class="card-content-inner">
<p class="color-gray">Posted on January 21, 2015</p>
<p>Quisque eget vestibulum nulla...</p>
</div>
</div>
<div class="card-footer">
<a href="#" class="link">Like</a>
<a href="#" class="link">Read more</a>
</div>
</div>
<div class="card">
<div class="card-header">New Releases:</div>
<div class="card-content">
<div class="list-block media-list">
<ul>
<li class="item-content">
<div class="item-media"><img src="http://lorempixel.com/88/88/fashion/4" width="44"></div>
<div class="item-inner">
<div class="item-title-row">
<div class="item-title">Yellow Submarine</div>
</div>
<div class="item-subtitle">Beatles</div>
</div>
</li>
<li class="item-content">
<div class="item-media"><img src="http://lorempixel.com/88/88/fashion/5" width="44"></div>
<div class="item-inner">
<div class="item-title-row">
<div class="item-title">Don't Stop Me Now</div>
</div>
<div class="item-subtitle">Queen</div>
</div>
</li>
<li class="item-content">
<div class="item-media"><img src="http://lorempixel.com/88/88/fashion/6" width="44"></div>
<div class="item-inner">
<div class="item-title-row">
<div class="item-title">Billie Jean</div>
</div>
<div class="item-subtitle">Michael Jackson</div>
</div>
</li>
</ul>
</div>
</div>
<div class="card-footer"> <span>January 20, 2015</span><span>5 comments</span></div>
</div>
</div>
<!--要捲動的頁面區塊開始-->
</div>