-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
168 lines (145 loc) · 5.74 KB
/
index.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
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html>
<head>
<meta charset>
<title>Jelly</title>
<link rel="stylesheet" href="css/jelly.css" />
<style type="text/css">
/* demo colors and reset */
* { text-align:center; border-radius:3px }
.demo > * { background:#e7e7e7 }
.half:hover .demo > *, .third:hover .demo > *,
.fourth:hover .demo > *, .fifth:hover .demo > *,
.sixth:hover .demo > * { background:#ccc }
.device-show { background:#77D7F9 !important }
.device-hide { background:#FFC43D !important }
small { color:#777 }
h3 { margin:0 }
</style>
</head>
<body>
<!-- github fork -->
<a href="http://github.com/Devric/jelly" style="position:absolute; left:0; top:0; width:141px; height:141px; cursor:pointer; z-index:50;"><img src="fork.png" alt="fork with me" /></a>
<section class="fourth">
<div class="three fifth last">
<div class=" three device-center center"><h2>Jelly <small><a href="http://devric.co.cc/lab/jelly">demo</a></small></h2></div>
</div>
</section>
<!-- half/half -->
<section class="fourth">
<div class=""><h3>half <small> half in mobile</small></h3></div>
<div class="three half last demo">
<div class="device-half">half</div>
<div class="device-half-last last">half</div>
</div>
</section>
<!-- half/one -->
<section class="fourth">
<div class=""> <h3>half <small> one in mobile</small></h3> </div>
<div class="three last half demo">
<div class="">half</div>
<div class="device-hide last">desktop only</div>
</div>
</section>
<!-- half/third -->
<section class="fourth">
<div> <h3>half <small> third in mobile</small></h3> </div>
<div class="three half last demo">
<div class="device-third">half</div>
<div class="device-third last">half</div>
<div class="device-third-last device-show last">device only</div>
</div>
</section>
<!-- third two one -->
<section class="fourth">
<div> <h3>thrid <small> two/one in mobile</small></h3> </div>
<div class="three third last demo">
<div class="device-half" >thid</div>
<div class="device-half-last">third</div>
<div class="last">third / full</div>
</div>
</section>
<!-- fourth half -->
<section class="fourth">
<div> <h3>fourth <small> half in mobile</small></h3> </div>
<div class="three fourth last demo">
<div class="device-half">fourth</div>
<div class="device-half-last">fourth</div>
<div class="device-half">fourth</div>
<div class="device-half-last last">fourth</div>
</div>
</section>
<!-- 2 + 3 / 1 + 2 -->
<section class="fourth">
<div> <h3> 2/5 + 3/5 <small> 1/3 + 2/3 in mobile</small></h3> </div>
<div class="three fifth last demo">
<div class="two device-third">2/5</div>
<div class="three last device-twothird-last">3/5</div>
</div>
</section>
<!-- default singles -->
<section class="fourth">
<div> <h3>default <small> single column in mobile</small></h3> </div>
<div class="three last">
<div class="half demo">
<div>half</div>
<div class="last">half</div>
</div>
<div class="third demo">
<div>third</div>
<div>third</div>
<div class="last">third</div>
</div>
<div class="fourth demo">
<div>fourth</div>
<div>fourth</div>
<div>fourth</div>
<div class="last">fourth</div>
</div>
<div class="fifth demo">
<div>fifth</div>
<div>fifth</div>
<div>fifth</div>
<div>fifth</div>
<div class="last">fifth</div>
</div>
<div class="sixth demo">
<div>sixth</div>
<div>sixth</div>
<div>sixth</div>
<div>sixth</div>
<div>sixth</div>
<div class="last">sixth</div>
</div>
</div>
</section>
<!-- span -->
<section class="fourth">
<!-- third -->
<div><h3>col spans</h3></div>
<div class="three third last demo">
<div class="">1/3</div>
<div class="two last">2/3</div>
</div>
<!-- fourth -->
<div class="three fourth last demo">
<div class="">1/4</div>
<div class="three last">3/4</div>
</div>
<div class="three fourth last demo">
<div class="two">2/4</div>
<div class="two last">2/4</div>
</div>
<!-- fifth -->
<div class="three fifth last demo">
<div class="two">2/5</div>
<div class="three last">3/5</div>
</div>
<!-- sixth -->
<div class="three sixth last demo">
<div class="three">3/6</div>
<div class="three last">3/6</div>
</div>
</section>
</body>
</html>