-
Notifications
You must be signed in to change notification settings - Fork 0
/
grid.html
209 lines (176 loc) · 6.19 KB
/
grid.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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>CSS Grid</title>
<link rel="stylesheet" href="css/capa.min.css">
<style>
/* css for this demo only */
body { margin: 30px 0; }
.container span { background: #eefaff; text-align: center; display: block; width: 100%; margin: 10px 0; padding: 10px 0; color: #3286a9; }
.sample-form { max-width: 450px; }
/* css for this demo only */
</style>
</head>
<body>
<div class="container text-center">
<h1>Capa CSS Grid</h1>
</div>
<div class="container">
<div class="c10 m100"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
</div>
<div class="container">
<div class="c10 t50 m100 t-flip"><span>10%</span></div>
<div class="c90 t50 m100 t-flip"><span>90%</span></div>
</div>
<div class="container">
<div class="c20"><span>20%</span></div>
<div class="c80"><span>80%</span></div>
</div>
<div class="container">
<div class="c30"><span>30%</span></div>
<div class="c70"><span>70%</span></div>
</div>
<div class="container">
<div class="c40"><span>40%</span></div>
<div class="c60"><span>60%</span></div>
</div>
<div class="container">
<div class="c50"><span>50%</span></div>
<div class="c50"><span>50%</span></div>
</div>
<div class="container">
<div class="c60"><span>60%</span></div>
<div class="c40"><span>40%</span></div>
</div>
<div class="container">
<div class="c70"><span>70%</span></div>
<div class="c30"><span>30%</span></div>
</div>
<div class="container">
<div class="c80"><span>80%</span></div>
<div class="c20"><span>20%</span></div>
</div>
<div class="container">
<div class="c10"><span>10%</span></div>
<div class="c90"><span>90%</span></div>
</div>
<div class="container">
<div class="c25"><span>25%</span></div>
<div class="c25"><span>25%</span></div>
<div class="c25"><span>25%</span></div>
<div class="c25"><span>25%</span></div>
</div>
<div class="container">
<div class="c33"><span>33%</span></div>
<div class="c33"><span>33%</span></div>
<div class="c33"><span>33%</span></div>
</div>
<div class="container">
<div class="c33"><span>33%</span></div>
<div class="c66"><span>66%</span></div>
</div>
<div class="container">
<div class="c100"><span>100%</span></div>
</div>
<br>
<div class="container">
<h3>Full-Width Containers</h3>
</div>
<div class="container full">
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
<div class="c10"><span>10%</span></div>
</div>
<br>
<div class="container">
<h3>Push & Pull</h3>
<div class="c33 t-push-33">
<span>Div Left</span>
</div>
<div class="c33 t-pull-33">
<span>Div Right</span>
</div>
</div>
<br>
<div class="container">
<h3>Typography</h3>
</div>
<div class="container">
<h1>This is an H1</h1>
<h2>This is an H2</h2>
<h3>This is an H3</h3>
<h4>This is an H4</h4>
<h5>This is an H5</h5>
<h6>This is an H6</h6>
<p><a href="#">here's a link</a></p>
<p><b>This text is bold</b></p>
<p><em>This text is italic</em></p>
<p>Here's an awesome paragraph. Let's make it a little bit longer so we can see how it looks. Is it not long enough? Let's make it even longer until we have a very good length. OK, almost there. We just need a tiny bit more. Great! We made it.</p>
<p>Here's an awesome paragraph. Let's make it a little bit longer so we can see how it looks. Is it not long enough? Let's make it even longer until we have a very good length. OK, almost there. We just need a tiny bit more. Great! We made it.</p>
<blockquote>
Blah blah
</blockquote>
<br><br>
<h3>Buttons</h3>
<p><a href="#" class="btn">Test Button</a> <a href="#" class="btn light rounded">Test Button</a> <a href="#" class="btn dark rounded">Test Button</a></p>
<h3>Lists</h3>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
<li>Item 5
<ul>
<li>Sub Item 1</li>
<li>Sub Item 2</li>
<li>Sub Item 3</li>
<li>Sub Item 4</li>
<li>Sub Item 5
<ul>
<li>Sub Item 1</li>
<li>Sub Item 2</li>
<li>Sub Item 3</li>
<li>Sub Item 4</li>
<li>Sub Item 5</li>
</ul>
</li>
</ul>
</li>
</ul>
<h3>Forms</h3>
<div class="cform rounded sample-form">
<input type="text" name="" placeholder="Test">
<input type="text" name="" placeholder="Test">
<input type="text" name="" placeholder="Test">
<select class="" name="">
<option selected disabled>-- choose one</option>
<option value="">value 1</option>
<option value="">value 1</option>
<option value="">value 1</option>
</select>
<input type="radio" name="gender" value="male"> Male
<input type="radio" name="gender" value="female"> Female
<input type="radio" name="gender" value="other"> Other
<textarea name="name" rows="8" cols="80" placeholder="Test"></textarea>
<input type="submit" name="" value="Submit">
</div>
</div>
</body>
</html>