This repository has been archived by the owner on May 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
/
grids.html
97 lines (69 loc) · 2.47 KB
/
grids.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
<!--
jQuery Mobile Boilerplate
/snippets/grids.html
-->
<!doctype html>
<html>
<head>
<title> jQuery Mobile Boilerplate - Grids</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- jQuery Mobile CSS bits -->
<link rel="stylesheet" href="css/jquery.mobile-1.4.0.min.css" />
<!-- if you have a custom theme, add it here -->
<link rel="stylesheet" href="themes/jQuery-Mobile-Boilerplate.css" />
<!-- Custom css -->
<link rel="stylesheet" href="css/custom.css" />
<!-- Javascript includes -->
<script src="js/jquery-1.10.2.js"></script>
<script src="js/mobileinit.js"></script>
<script src="js/jquery.mobile-1.4.0.js"></script>
<script src="js/application.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<a href="index.html" data-icon="home">Home</a>
<h1>Grids</h1>
</div>
<div data-role="content">
<h2>2 Column Grid</h2>
<div class="ui-grid-a">
<div class="ui-block-a"><button type="submit" data-theme="c">Cancel</button></div>
<div class="ui-block-b"><button type="submit" data-theme="b">Submit</button></div>
</div>
<h2>3 Column Grid</h2>
<div class="ui-grid-b">
<div class="ui-block-a ui-bar-d" style="height:50px">Block A</div>
<div class="ui-block-b ui-bar-d" style="height:50px">Block B</div>
<div class="ui-block-c ui-bar-d" style="height:50px">Block C</div>
</div>
<h2>4 Column Grid</h2>
<div class="ui-grid-c">
<div class="ui-block-a ui-bar-d" style="height:50px">Block A</div>
<div class="ui-block-b ui-bar-d" style="height:50px">Block B</div>
<div class="ui-block-c ui-bar-d" style="height:50px">Block C</div>
<div class="ui-block-d ui-bar-d" style="height:50px">Block D</div>
</div>
<h2>5 Column Grid</h2>
<div class="ui-grid-d">
<div class="ui-block-a ui-bar-d" style="height:50px">A</div>
<div class="ui-block-b ui-bar-d" style="height:50px">B</div>
<div class="ui-block-c ui-bar-d" style="height:50px">C</div>
<div class="ui-block-d ui-bar-d" style="height:50px">D</div>
<div class="ui-block-e ui-bar-d" style="height:50px">E</div>
</div>
<h2>Multi-row grids</h2>
<div class="ui-grid-a">
<div class="ui-block-a ui-bar-d" style="height:50px">A</div>
<div class="ui-block-b ui-bar-d" style="height:50px">B</div>
<div class="ui-block-a ui-bar-d" style="height:50px">A</div>
<div class="ui-block-b ui-bar-d" style="height:50px">B</div>
</div>
</div>
<div data-role="footer">
<p>© 2012 - jQuery Mobile Boilerplate</p>
</div>
</div>
</body>
</html>