This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
176 lines (150 loc) · 5.88 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
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Table Grid</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="table-grid.css">
<link rel="stylesheet" href="grid-example.css">
</head>
<body class="page">
<h1 class="page__title">Table Grid</h1>
<div class="grid grid-example">
<div class="grid__cell grid__cell_size_1">1</div>
<div class="grid__cell grid__cell_size_1">1</div>
<div class="grid__cell grid__cell_size_1">1</div>
<div class="grid__cell grid__cell_size_1">1</div>
<div class="grid__cell grid__cell_size_1">1</div>
<div class="grid__cell grid__cell_size_1">1</div>
<div class="grid__cell grid__cell_size_1">1</div>
<div class="grid__cell grid__cell_size_1">1</div>
<div class="grid__cell grid__cell_size_1">1</div>
<div class="grid__cell grid__cell_size_1">1</div>
<div class="grid__cell grid__cell_size_1">1</div>
<div class="grid__cell grid__cell_size_1">1</div>
</div>
<div class="grid grid-example">
<div class="grid__cell grid__cell_size_2">2</div>
<div class="grid__cell grid__cell_size_2">2</div>
<div class="grid__cell grid__cell_size_2">2</div>
<div class="grid__cell grid__cell_size_2">2</div>
<div class="grid__cell grid__cell_size_2">2</div>
<div class="grid__cell grid__cell_size_2">2</div>
</div>
<div class="grid grid-example">
<div class="grid__cell grid__cell_size_3">3</div>
<div class="grid__cell grid__cell_size_3">3</div>
<div class="grid__cell grid__cell_size_3">3</div>
<div class="grid__cell grid__cell_size_3">3</div>
</div>
<div class="grid grid-example">
<div class="grid__cell grid__cell_size_4">4</div>
<div class="grid__cell grid__cell_size_4">4</div>
<div class="grid__cell grid__cell_size_4">4</div>
</div>
<div class="grid grid-example">
<div class="grid__cell grid__cell_size_5">5</div>
<div class="grid__cell grid__cell_size_7">7</div>
</div>
<div class="grid grid-example">
<div class="grid__cell grid__cell_size_6">6</div>
<div class="grid__cell grid__cell_size_6">6</div>
</div>
<div class="grid grid-example">
<div class="grid__cell grid__cell_size_8">8</div>
<div class="grid__cell grid__cell_size_4">4</div>
</div>
<div class="grid grid-example">
<div class="grid__cell grid__cell_size_12">12</div>
</div>
<h2 id="table-layout">Table-layout: fixed</h2>
<div class="grid grid-example">
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
</div>
<div class="grid grid-example">
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
</div>
<div class="grid grid-example">
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
</div>
<div class="grid grid-example">
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
</div>
<div class="grid grid-example">
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
</div>
<div class="grid grid-example">
<div class="grid__cell">Cell</div>
</div>
<h2 id="nested">Nested</h2>
<div class="grid grid-example">
<div class="grid__cell grid__cell_size_8">
8
<div class="grid grid-example">
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
</div>
</div>
<div class="grid__cell grid__cell_size_4">4</div>
</div>
<h2 id="grids-with-gutters">Grids with gutters</h2>
<div class="grid grid_padded grid-example">
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
</div>
<div class="grid grid_padded grid-example">
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
</div>
<div class="grid grid_padded grid-example">
<div class="grid__cell grid__cell_size_8">8</div>
<div class="grid__cell grid__cell_size_4">4</div>
</div>
<h2 id="vertically-center-content">Vertically center content</h2>
<p>Requires the use of <code class="highlighter-rouge">inline</code>, <code class="highlighter-rouge">inline-block</code>, or <code class="highlighter-rouge">table</code> based elements within a cell.</p>
<div class="grid grid_middle grid-example">
<div class="grid__cell">
Free-form text wraps while remaining vertically centered.
</div>
<div class="grid__cell">
Nested cell center, too.
<div class="grid grid-example">
<div class="grid__cell">Cell</div>
<div class="grid__cell">Cell</div>
</div>
</div>
<div class="grid__cell">
<div class="grid-example__inline-block">A `div` with `inline-block` works great, too.</div>
</div>
</div>
<h2 id="reverse-cell-sorting">Reverse cell sorting</h2>
<div class="grid grid_reverse grid-example">
<div class="grid__cell">Cell 1</div>
<div class="grid__cell">Cell 2</div>
</div>
</body>
</html>