-
Notifications
You must be signed in to change notification settings - Fork 1
/
usage.html
868 lines (744 loc) · 28.1 KB
/
usage.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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
<!DOCTYPE html>
<html lang="en">
<head>
<title>Base CSS</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="base.css">
<script src="base.js"></script>
<style>
[class*='col-'] {
border: 1px dashed #e1e1e8;
padding: 10px;
}
.info {
line-height: 1.7;
}
code {
padding: 1px 4px;
border: 1px solid #ebeaea;
background-color: #fafafa;
}
/* Desktop style overrides */
@media (min-width: 1200px) {
#location2FormGroup {
width: 300px;
}
}
</style>
</head>
<body>
<div class="container">
<h1>Base CSS</h1>
<section>
<p class="info">A simple CSS theme to kick start your project. Provides a consistent responsive style across mobile and desktop browsers for the base HTML elements. The popular <a href="https://fonts.google.com/specimen/Open+Sans">Open Sans font</a> is used to keep the text consistent between browsers.</p>
<p class="info">Designed for Chrome, Firefox, Safari and IE9+</p>
<p><a href="https://github.com/ianc1/BaseCSS">View on GitHib</a></p>
</section>
<section>
<h3><a name="GetStarted" href="#GetStarted">Get Started</a></h3>
<p class="info">To use Base CSS in your project, include the below CDN links in your HTML. Alternatively you can self-host by installing the <a href="https://www.npmjs.com/package/base-css-theme">NPM package</a> in your project.</p>
<pre>
<link href="https://unpkg.com/base-css-theme@1.1.3/base.css" rel="stylesheet">
<script src="https://unpkg.com/base-css-theme@1.1.3/base.js"></script>
npm install --save-dev base-css-theme
</pre>
</section>
<section>
<h3><a name="HTML5Doctype" href="#HTML5Doctype">HTML5 Doctype</a></h3>
<p class="info">Base CSS makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.</p>
<pre>
<!DOCTYPE html>
<html lang="en">
...
</html>
</pre>
</section>
<section>
<h3><a name="Viewport" href="#Viewport">Viewport</a></h3>
<p class="info">Base CSS is mobile first. To ensure proper rendering and touch zooming, add the <code>viewport</code> meta tag inside the <code>head</code> element.</p>
<pre>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</pre>
</section>
<section>
<h3><a name="Container" href="#Container">Container</a></h3>
<p class="info">Use <code>container</code> for a responsive fixed width container.</p>
<pre>
<div class="container">
...
</div>
</pre>
</section>
<section>
<h3><a name="MediaQueries" href="#MediaQueries">Media Queries</a></h3>
<p class="info">The following media query is used to apply alternate styles for desktop devices.</p>
<pre>
@media (min-width: 1200px) {
...
}
</pre>
</section>
<section>
<h3><a name="Headings" href="#Headings">Headings</a></h3>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<h5>HTML</h5>
<pre>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</pre>
</section>
<section>
<h3><a name="Paragraph" href="#Paragraph">Paragraph</a></h3>
<p class="info">Normal text, <strong>Strong text</strong>, <u>Underlined text</u>, <i>Italic text</i>, <small>Small text</small></p>
<p class="info">Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.</p>
<p class="info">Lorem ipsum dolor sit amet, emphasis consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.</p>
<h5>HTML</h5>
<pre>
<p>Normal text, <strong>Strong text</strong>, <u>Underlined text</u>, <i>Italic text</i>, <small>Small text</small></p>
</pre>
</section>
<section>
<h3><a name="Icons" href="#Icons">Icons</a></h3>
<p class="info">The Google Material icon collection is included. A list of available icons can be found on their website <a href="https://material.io/icons/" target="_blank">https://material.io/icons/</a>.</p>
<h1>
<i class="icon">file_download</i>
<i class="icon">archive</i>
<i class="icon">cloud</i>
<i class="icon">local_printshop</i>
</h1>
<h5>HTML</h5>
<pre>
<i class="icon">file_download</i>
</pre>
</section>
<section>
<h3><a name="Lists" href="#Lists">Lists</a></h3>
<h4>Unordered List</h4>
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
<h4>Ordered List</h4>
<ol>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ol>
<h5>HTML</h5>
<pre>
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
<ol>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ol>
</pre>
</section>
<section>
<h3><a name="Table" href="#Table">Table</a></h3>
<table>
<thead>
<tr><th>#</th><th>First Name</th><th>Last Name</th><th class="mobile-hide">Username</th></tr>
</thead>
<tbody>
<tr><th>1</th><td>Mark</td><td>Otto</td><td class="mobile-hide">@mdo</td></tr>
<tr><th>2</th><td>Jacob</td><td>Thornton</td><td class="mobile-hide">@fat</td></tr>
<tr><th>3</th><td>Larry</td><td>Bird</td><td class="mobile-hide">@twitter</td></tr>
</tbody>
</table>
<h5>HTML</h5>
<pre>
<table>
<thead>
<tr><th>#</th><th>First Name</th><th>Last Name</th><th class="mobile-hide">Username</th></tr>
</thead>
<tbody>
<tr><th>1</th><td>Mark</td><td>Otto</td><td class="mobile-hide">@mdo</td></tr>
<tr><th>2</th><td>Jacob</td><td>Thornton</td><td class="mobile-hide">@fat</td></tr>
<tr><th>3</th><td>Larry</td><td>Bird</td><td class="mobile-hide">@twitter</td></tr>
</tbody>
</table>
</pre>
</section>
<section>
<h3><a name="Buttons" href="#Buttons">Buttons</a></h3>
<h4>Basic</h4>
<p><button class="primary">Save</button> <button>Cancel</button></p>
<h4>Button Icons</h4>
<p class="info">The Google Material icon collection can be used to add icons to buttons. A list of available icons can be found on their website <a href="https://material.io/icons/" target="_blank">https://material.io/icons/</a>.</p>
<p><button class="primary"><i class="icon">file_download</i> Download</button></p>
<h4>Icon Only Buttons</h4>
<button class="icon-button"><i class="icon">account_box</i></button>
<button class="icon-button"><i class="icon">cancel</i></button>
<button class="icon-button"><i class="icon">edit</i></button>
<h5>HTML</h5>
<pre>
<button class="primary">Save</button> <button>Cancel</button>
<button class="primary"><i class="icon">file_download</i> Download</button>
<button class="icon-button"><i class="icon">account_box</i></button>
</pre>
</section>
<section>
<h3><a name="Forms" href="#Forms">Forms</a></h3>
<p class="info">Forms use a full width stacked layout by default on all screen sizes. Add <code>inline</code> to the form to switch to a horizonal
layout on large displays.</p>
<h4>Stacked Form</h4>
<form>
<label for="title">Title</label>
<div class="select">
<select id="title">
<option>Mr</option>
<option>Mrs</option>
<option>Miss</option>
</select>
</div>
<label for="name">Name</label>
<input id="name" type="text" placeholder="Name" value="Mark Otto">
<label for="mobile">Mobile</label>
<input id="mobile" type="tel" placeholder="Mobile Number">
<label for="accept">Accept Terms</label>
<div class="checkbox">
<input id="accept" type="checkbox" checked>
<span></span>
</div>
<label for="notes">Notes</label>
<textarea id="notes" placeholder="Add some notes">One
Two
Three</textarea>
</form>
<h5>HTML</h5>
<pre>
<form>
<label for="title">Title</label>
<div class="select">
<select id="title">
<option>Mr</option>
<option>Mrs</option>
<option>Miss</option>
</select>
</div>
<label for="name">Name</label>
<input id="name" type="text" placeholder="Name" value="Mark Otto">
<label for="mobile">Mobile</label>
<input id="mobile" type="tel" placeholder="Mobile Number">
<label for="accept">Accept Terms</label>
<div class="checkbox">
<input id="accept" type="checkbox">
<span></span>
</div>
<label for="notes">Notes</label>
<textarea id="notes" placeholder="Add some notes">One
Two
Three</textarea>
</form>
</pre>
<h4>Inline</h4>
<p class="info">Add <code>inline</code> to the form to use a horizonal inline layout on large displays and a
stacked layout on smaller displays.</p>
<form class="inline">
<label for="username">Username</label><div class="select">
<select id="username">
<option>Mark_Otto</option>
<option>Jacob_Thornton</option>
<option>Larry_Bird</option>
</select>
</div>
<label for="password">Password</label><input id="password" type="password" placeholder="Password" value="xxxxxx">
<label for="rememberme">Remember Me</label>
<div class="checkbox">
<input id="rememberme" type="checkbox" checked>
<span></span>
</div>
<button class="primary"><i class="icon">forward</i> Sign In</button>
</form>
<h5>HTML</h5>
<pre>
<form class="inline">
<label for="username">Username</label><div class="select">
<select id="username">
<option>Mark_Otto</option>
<option>Jacob_Thornton</option>
<option>Larry_Bird</option>
</select>
</div>
<label for="password">Password</label><input id="password" type="password" placeholder="Password" value="xxxxxx">
<label for="rememberme">Remember Me</label>
<div class="checkbox">
<input id="rememberme" type="checkbox" checked>
<span></span>
</div>
<button class="primary"><i class="icon">forward</i>Sign In</button>
</form>
</pre>
<h4>Field Groups</h4>
<p class="info">Use the <code>field-group</code> container to join multiple form fields together to create a custom field.
Buttons must be inside a <code>field-buttons</code> container.</p>
<h5>Stacked</h5>
<form>
<div class="field-group">
<input type="url" value="http://google.com">
<div class="field-buttons"><button class="primary">Go</button></div>
</div>
<div class="field-group">
<input type="url" value="http://google.com">
<div class="field-buttons">
<button class="primary"><i class="icon">file_download</i></button>
<button class="primary"><i class="icon">content_copy</i></button>
</div>
</div>
<div class="field-group">
<div class="select">
<select>
<option>Mr</option>
<option>Mrs</option>
<option>Miss</option>
</select>
</div>
<input type="text" value="Smith">
</div>
<div class="field-group" id="shirtFormGroup">
<div class="select">
<select>
<option>Size</option>
<option>Small</option>
<option>Medium</option>
</select>
</div>
<input type="text" value="Shirt Text">
<div class="select">
<select>
<option>Qty</option>
<option>1</option>
<option>2</option>
</select>
</div>
</div>
<div class="field-group" id="locationFormGroup">
<div class="select">
<select>
<option>County</option>
<option>US</option>
<option>UK</option>
</select>
</div>
<div class="select">
<select>
<option>State</option>
<option>California</option>
<option>Massachusetts</option>
<option>Texas</option>
<option>Washington</option>
</select>
</div>
<input type="text" value="City">
<div class="field-buttons"><button class="primary"><i class="icon">add</i></button></div>
</div>
</form>
<h5>Inline</h5>
<form class="inline">
<div class="field-group">
<input type="text" value="Tracking code">
<div class="field-buttons"><button class="primary"><i class="icon">content_copy</i></button></div>
</div>
<div class="field-group">
<div class="field-buttons"><button class="primary"><i class="icon">autorenew</i></button></div>
<input type="text" value="New Secret">
<div class="field-buttons"><button class="primary"><i class="icon">content_copy</i></button></div>
</div>
<div class="field-group">
<div class="select">
<select>
<option>Mr</option>
<option>Mrs</option>
<option>Miss</option>
</select>
</div>
<div class="field-icons">
<i class="icon left">person</i>
<input type="text" value="Smith" required>
</div>
</div>
<div class="field-group" id="location2FormGroup">
<input type="text" value="City">
<div class="select">
<select id="state">
<option>State</option>
<option>California</option>
<option>Massachusetts</option>
<option>Texas</option>
<option>Washington</option>
</select>
</div>
<div class="select">
<select>
<option>County</option>
<option>US</option>
<option>UK</option>
</select>
</div>
</div>
</form>
<h5>HTML</h5>
<pre>
<h5>Stacked</h5>
<form>
<div class="field-group">
<input type="url" value="http://google.com">
<div class="field-buttons"><button class="primary">Go</button></div>
</div>
<div class="field-group">
<input type="url" value="http://google.com">
<div class="field-buttons">
<button class="primary"><i class="icon">file_download</i></button>
<button class="primary"><i class="icon">content_copy</i></button>
</div>
</div>
<div class="field-group">
<div class="select">
<select>
<option>Mr</option>
<option>Mrs</option>
<option>Miss</option>
</select>
</div>
<input type="text" value="Smith">
</div>
</form>
<div class="field-group" id="shirtFormGroup">
<div class="select">
<select>
<option>Size</option>
<option>Small</option>
<option>Medium</option>
</select>
</div>
<input type="text" value="Shirt Text">
<div class="select">
<select>
<option>Qty</option>
<option>1</option>
<option>2</option>
</select>
</div>
</div>
<div class="field-group" id="locationFormGroup">
<div class="select">
<select>
<option>County</option>
<option>US</option>
<option>UK</option>
</select>
</div>
<div class="select">
<select>
<option>State</option>
<option>California</option>
<option>Massachusetts</option>
<option>Texas</option>
<option>Washington</option>
</select>
</div>
<input type="text" value="City">
<div class="field-buttons"><button class="primary"><i class="icon">add</i></button></div>
</div>
<h5>Inline</h5>
<form class="inline">
<div class="field-group">
<input type="text" value="Tracking code">
<div class="field-buttons"><button class="primary"><i class="icon">content_copy</i></button></div>
</div>
<div class="field-group">
<div class="field-buttons"><button class="primary"><i class="icon">autorenew</i></button></div>
<input type="text" value="New Secret">
<div class="field-buttons"><button class="primary"><i class="icon">content_copy</i></button></div>
</div>
<div class="field-group">
<div class="select">
<select>
<option>Mr</option>
<option>Mrs</option>
<option>Miss</option>
</select>
</div>
<div class="field-icons">
<i class="icon left">person</i>
<input type="text" value="Smith" required>
</div>
</div>
<div class="field-group" id="location2FormGroup">
<input type="text" id="city" value="City">
<div class="select">
<select>
<option>State</option>
<option>California</option>
<option>Massachusetts</option>
<option>Texas</option>
<option>Washington</option>
</select>
</div>
<div class="select">
<select>
<option>County</option>
<option>US</option>
<option>UK</option>
</select>
</div>
</div>
</form>
</pre>
<h4>Field Icons</h4>
<p class="info">Add icons to a form field by placing the icons and the field inside a <code>field-icons</code> container.</p>
<form class="inline">
<div class="field-icons">
<i class="icon left">phone_android</i>
<input type="text" value="0800 123456">
</div>
<div class="field-icons">
<i class="icon left">person</i>
<i class="icon right">clear</i>
<input type="text" value="Bob Smith">
</div>
</form>
<h5>HTML</h5>
<pre>
<form class="inline">
<div class="field-icons">
<i class="icon left">phone_android</i>
<input type="text" value="0800 123456">
</div>
<div class="field-icons">
<i class="icon left">person</i>
<i class="icon right">clear</i>
<input type="text" value="Bob Smith">
</div>
</form>
</pre>
<h4>Field Validation</h4>
<p class="info">Use the input attribute <code>required</code> in conjunction with <code>type</code> to highlight invalid fields.
Add feedback text using <code>field-feedback</code> inside a <code>field</code> container along with the input field.</p>
<form class="inline">
<input type="url" value="http\\www.google.com" required>
<div class="field">
<div class="field-icons">
<i class="icon left">person</i>
<i class="icon right">clear</i>
<input type="email" value="bob@@acme.com" required>
</div>
<div class="field-feedback invalid">Invalid email address</div>
</div>
<div class="field">
<input type="email" value="bob@acme.com" required>
<div class="field-feedback">Enter a work email address</div>
</div>
</form>
<h5>HTML</h5>
<pre>
<form class="inline">
<input type="url" value="http\\www.google.com" required>
<div class="field">
<div class="field-icons">
<i class="icon left">person</i>
<i class="icon right">clear</i>
<input type="email" value="bob@@acme.com" required>
</div>
<div class="field-feedback invalid">Invalid email address</div>
</div>
<div class="field">
<input type="email" value="bob@acme.com" required>
<div class="field-feedback">Enter a work email address</div>
</div>
</form>
</pre>
</section>
<section>
<h3><a name="DropdownMenu" href="#DropdownMenu">Dropdown Menu</a></h3>
<div class="dropdown">
<button class="primary">Dropdown</button>
<ul class="dropdown-menu">
<li><a href="#item1">Item 1</a></li>
<li><a href="#item2">Item 2</a></li>
<li><a href="#item3">Item 3</a></li>
</ul>
</div>
<h5>HTML</h5>
<pre>
<div class="dropdown">
<button class="primary">Dropdown</button>
<ul class="dropdown-menu">
<li><a href="#item1">Item 1</a></li>
<li><a href="#item2">Item 2</a></li>
<li><a href="#item3">Item 3</a></li>
</ul>
</div>
</pre>
</section>
<section>
<h3><a name="Navbar" href="#Navbar">Navbar</a></h3>
<nav class="navbar">
<ul class="nav">
<li><a href="#home">Acme Corp</a></li>
</ul>
<button class="icon-button dropdown"><i class="icon">menu</i></button>
<div class="nav-collapse">
<ul class="nav">
<li><a href="#products">Products</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#about">About</a></li>
</ul>
<ul class="nav nav-right">
<li><a href="#account">John Smith</a></li>
<li><a href="#logOut">Logout</a></li>
</ul>
</div>
</nav>
<h5>HTML</h5>
<pre>
<nav class="navbar">
<ul class="nav">
<li><a href="#home">Acme Corp</a></li>
</ul>
<button class="icon-button dropdown"><i class="icon">menu</i></button>
<div class="nav-collapse">
<ul class="nav">
<li><a href="#products">Products</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#about">About</a></li>
</ul>
<ul class="nav nav-right">
<li><a href="#account">John Smith</a></li>
<li><a href="#logOut">Logout</a></li>
</ul>
</div>
</nav>
</pre>
</section>
<section>
<h3><a name="Tabs" href="#Tabs">Tabs</a></h3>
<div class="tabs">
<input id="tab1" type="radio" name="tabs" checked>
<label for="tab1">One</label>
<input id="tab2" type="radio" name="tabs">
<label for="tab2">Two</label>
<input id="tab3" type="radio" name="tabs">
<label for="tab3">Three</label>
<section class="tab" id="tab1content">
Tab one content
</section>
<section class="tab" id="tab2content">
Tab two content
</section>
<section class="tab" id="tab3content">
Tab three content
</section>
</div>
<h5>HTML</h5>
<pre>
<div class="tabs">
<input id="tab1" type="radio" name="tabs" checked>
<label for="tab1">One</label>
<input id="tab2" type="radio" name="tabs">
<label for="tab2">Two</label>
<input id="tab3" type="radio" name="tabs">
<label for="tab3">Three</label>
<section class="tab" id="tab1content">
Tab one content
</section>
<section class="tab" id="tab2content">
Tab two content
</section>
<section class="tab" id="tab3content">
Tab three content
</section>
</div>
</pre>
</section>
<section>
<h3><a name="AlertsBanner" href="#AlertsBanner">Alerts Banner</a></h3>
<div class="alerts-banner">
<div class="alert alert-info">The requested operation has completed successfully.</div>
<div class="alert alert-error">The requested operation could not be completed.</div>
</div>
<h5>HTML</h5>
<pre>
<div class="alerts-banner">
<div class="alert alert-info">The requested operation has completed successfully.</div>
<div class="alert alert-error">The requested operation could not be completed.</div>
</div>
</pre>
</section>
<section>
<h3><a name="GridLayout" href="#GridLayout">Grid Layout</a></h3>
<div class="row">
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
</div>
<div class="row">
<div class="col-2-8">col-2-8</div>
<div class="col-6-8">col-6-8</div>
</div>
<div class="row">
<div class="col-4-8">col-4-8</div>
<div class="col-4-8">col-4-8</div>
</div>
<div class="row">
<div class="col-5-8">col-5-8</div>
<div class="col-3-8">col-3-8</div>
</div>
<div class="row">
<div class="col-7-8">col-7-8</div>
<div class="col-1-8">col-1-8</div>
</div>
<h5>HTML</h5>
<pre>
<div class="row">
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
<div class="col-1-8">col-1-8</div>
</div>
<div class="row">
<div class="col-2-8">col-2-8</div>
<div class="col-6-8">col-6-8</div>
</div>
<div class="row">
<div class="col-4-8">col-4-8</div>
<div class="col-4-8">col-4-8</div>
</div>
<div class="row">
<div class="col-5-8">col-5-8</div>
<div class="col-3-8">col-3-8</div>
</div>
<div class="row">
<div class="col-7-8">col-7-8</div>
<div class="col-1-8">col-1-8</div>
</div>
</pre>
</section>
</div>
</body>
</html>