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
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="robots" content="index, follow">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="author" content="https://github.com/picturepan2/">
<title>Elements - Spectre.css CSS Framework</title>
<link rel="stylesheet" href="dist/spectre.css">
<link rel="stylesheet" href="dist/spectre-icons.css">
<link rel="stylesheet" href="dist/spectre-exp.css">
<link rel="stylesheet" href="css/docs.css">
</head>
<body>
<div class="docs-container off-canvas">
<div class="docs-navbar">
<a class="off-canvas-toggle btn btn-link btn-action" href="#sidebar">
<i class="icon icon-menu"></i>
</a>
<a href="https://github.com/picturepan2/spectre" target="_blank" class="btn btn-primary">GitHub</a>
</div>
<div id="sidebar" class="docs-sidebar off-canvas-sidebar">
<div class="docs-brand">
<a href="index.html" class="docs-logo">
<img src="img/spectre-logo.svg" alt="Spectre.css CSS Framework">
<h2>SPECTRE</h2>
</a>
</div>
<div class="docs-nav">
<div class="accordion-container">
<div class="accordion">
<input type="checkbox" id="docs-accordion-1" name="docs-accordion-checkbox" hidden>
<label class="accordion-header c-hand" for="docs-accordion-1">
Getting started
</label>
<div class="accordion-body">
<ul class="menu menu-nav">
<li class="menu-item">
<a href="getting-started.html">Introduction</a>
</li>
<li class="menu-item">
<a href="getting-started.html#installation">Installation</a>
</li>
<li class="menu-item">
<a href="getting-started.html#custom">Custom version</a>
</li>
<li class="menu-item">
<a href="getting-started.html#browsers">Browser support</a>
</li>
<li class="menu-item">
<a href="getting-started.html#whatsnew">What's new</a>
</li>
</ul>
</div>
</div>
<div class="accordion">
<input type="checkbox" id="docs-accordion-2" name="docs-accordion-checkbox" hidden checked>
<label class="accordion-header c-hand" for="docs-accordion-2">
Elements
</label>
<div class="accordion-body">
<ul class="menu menu-nav">
<li class="menu-item">
<a href="elements.html">Typography</a>
</li>
<li class="menu-item">
<a href="elements.html#tables">Tables</a>
</li>
<li class="menu-item">
<a href="elements.html#buttons">Buttons</a>
</li>
<li class="menu-item">
<a href="elements.html#forms">Forms</a>
</li>
<li class="menu-item">
<a href="elements.html#icons">Icons</a>
</li>
<li class="menu-item">
<a href="elements.html#labels">Labels</a>
</li>
<li class="menu-item">
<a href="elements.html#codes">Codes</a>
</li>
<li class="menu-item">
<a href="elements.html#media">Media</a>
</li>
</ul>
</div>
</div>
<div class="accordion">
<input type="checkbox" id="docs-accordion-3" name="docs-accordion-checkbox" hidden>
<label class="accordion-header c-hand" for="docs-accordion-3">
Layout
</label>
<div class="accordion-body">
<ul class="menu menu-nav">
<li class="menu-item">
<a href="layout.html">Flexbox grid</a>
</li>
<li class="menu-item">
<a href="layout.html#responsive">Responsive</a>
</li>
<li class="menu-item">
<a href="layout.html#navbar">Navbar</a>
</li>
</ul>
</div>
</div>
<div class="accordion">
<input type="checkbox" id="docs-accordion-4" name="docs-accordion-checkbox" hidden>
<label class="accordion-header c-hand" for="docs-accordion-4">
Components
</label>
<div class="accordion-body">
<ul class="menu menu-nav">
<li class="menu-item">
<a href="components.html">Accordions</a>
</li>
<li class="menu-item">
<a href="components.html#autocomplete">Autocomplete</a>
</li>
<li class="menu-item">
<a href="components.html#avatars">Avatars</a>
</li>
<li class="menu-item">
<a href="components.html#badges">Badges</a>
</li>
<li class="menu-item">
<a href="components.html#bars">Bars</a>
</li>
<li class="menu-item">
<a href="components.html#breadcrumbs">Breadcrumbs</a>
</li>
<li class="menu-item">
<a href="components.html#cards">Cards</a>
</li>
<li class="menu-item">
<a href="components.html#chips">Chips</a>
</li>
<li class="menu-item">
<a href="components.html#empty">Empty states</a>
</li>
<li class="menu-item">
<a href="components.html#menus">Menus</a>
</li>
<li class="menu-item">
<a href="components.html#modals">Modals</a>
</li>
<li class="menu-item">
<a href="components.html#navs">Navs</a>
</li>
<li class="menu-item">
<a href="components.html#pagination">Pagination</a>
</li>
<li class="menu-item">
<a href="components.html#panels">Panels</a>
</li>
<li class="menu-item">
<a href="components.html#popovers">Popovers</a>
</li>
<li class="menu-item">
<a href="components.html#steps">Steps</a>
</li>
<li class="menu-item">
<a href="components.html#tabs">Tabs</a>
</li>
<li class="menu-item">
<a href="components.html#tiles">Tiles</a>
</li>
<li class="menu-item">
<a href="components.html#toasts">Toasts</a>
</li>
<li class="menu-item">
<a href="components.html#tooltips">Tooltips</a>
</li>
</ul>
</div>
</div>
<div class="accordion">
<input type="checkbox" id="docs-accordion-5" name="docs-accordion-checkbox" hidden>
<label class="accordion-header c-hand" for="docs-accordion-5">
Utilities
</label>
<div class="accordion-body">
<ul class="menu menu-nav">
<li class="menu-item">
<a href="utilities.html">Colors</a>
</li>
<li class="menu-item">
<a href="utilities.html#cursors">Cursors</a>
</li>
<li class="menu-item">
<a href="utilities.html#display">Display</a>
</li>
<li class="menu-item">
<a href="utilities.html#divider">Divider</a>
</li>
<li class="menu-item">
<a href="utilities.html#loading">Loading</a>
</li>
<li class="menu-item">
<a href="utilities.html#position">Position</a>
</li>
<li class="menu-item">
<a href="utilities.html#shapes">Shapes</a>
</li>
<li class="menu-item">
<a href="utilities.html#text">Text</a>
</li>
</ul>
</div>
</div>
<div class="accordion">
<input type="checkbox" id="docs-accordion-6" name="docs-accordion-checkbox" hidden>
<label class="accordion-header c-hand" for="docs-accordion-6">
Experimentals
</label>
<div class="accordion-body">
<ul class="menu menu-nav">
<li class="menu-item">
<a href="experimentals.html">Calendars</a>
</li>
<li class="menu-item">
<a href="experimentals.html#carousels">Carousels</a>
</li>
<li class="menu-item">
<a href="experimentals.html#comparison">Comparison sliders</a>
</li>
<li class="menu-item">
<a href="experimentals.html#filters">Filters</a>
</li>
<li class="menu-item">
<a href="experimentals.html#meters">Meters</a>
</li>
<li class="menu-item">
<a href="experimentals.html#off-canvas">Off-canvas</a>
</li>
<li class="menu-item">
<a href="experimentals.html#parallax">Parallax</a>
</li>
<li class="menu-item">
<a href="experimentals.html#progress">Progress</a>
</li>
<li class="menu-item">
<a href="experimentals.html#sliders">Sliders</a>
</li>
<li class="menu-item">
<a href="experimentals.html#timelines">Timelines</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<a class="off-canvas-overlay" href="#close"></a>
<div id="content" class="docs-content off-canvas-content">
<div id="elements" class="container">
<h3 class="s-title"><a href="#elements" class="anchor" aria-hidden="true">#</a>Elements</h3>
</div>
<div class="container">
<div class="docs-ad">
<div class="hide-md">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- GitHub-lg -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-2225124559530218"
data-ad-slot="9894180784"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="show-md">
<!-- GitHub-sm -->
<ins class="adsbygoogle"
style="display:inline-block;width:300px;height:250px"
data-ad-client="ca-pub-2225124559530218"
data-ad-slot="9278881734"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
</div>
<div id="typography" class="container">
<h3 class="s-title"><a href="#typography" class="anchor" aria-hidden="true">#</a>Typography</h3>
<div class="docs-note">
<p>Typography sets default styles for headings, paragraphs, semantic text, blockquote and lists elements.</p>
</div>
<h4 id="typography-headings" class="s-subtitle">Headings</h4>
<div class="columns">
<div class="column col-12">
<h1>H1 Heading <small class="label">40px</small></h1>
</div>
<div class="column col-12">
<h2>H2 Heading <small class="label">32px</small></h2>
</div>
<div class="column col-12">
<h3>H3 Heading <small class="label">28px</small></h3>
</div>
<div class="column col-12">
<h4>H4 Heading <small class="label">24px</small></h4>
</div>
<div class="column col-12">
<h5>H5 Heading <small class="label">20px</small></h5>
</div>
<div class="column col-12">
<h6>H6 Heading <small class="label">16px</small></h6>
</div>
</div>
<!-- headings -->
<pre class="code" data-lang="HTML"><code><<span class="tag">h1</span>>H1 Heading<<span class="tag">/h1</span>>
<<span class="tag">h1</span>>H1 Heading <<span class="tag">small</span> <span class="atn">class</span>=<span class="atv">"label"</span>>40px<<span class="tag">/small</span>><<span class="tag">/h1</span>>
<<span class="tag">span</span> <span class="atn">class</span>=<span class="atv">"h1"</span>>H1 Heading<<span class="tag">/span</span>>
</code></pre>
<h4 id="typography-paragraphs" class="s-subtitle">Paragraphs</h4>
<div class="docs-note">
<p>Lorem ipsum dolor sit amet, consectetur <a href="#typography">adipiscing elit. Praesent risus leo, dictum in vehicula sit amet</a>, feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.</p>
<p>Climb leg rub face on everything give attitude nap all day for under the bed. Chase mice attack feet but rub face on everything hopped up on goofballs.</p>
</div>
<!-- paragraphs -->
<pre class="code" data-lang="HTML"><code><<span class="tag">p</span>>Lorem ipsum dolor sit amet, ...<<span class="tag">/p</span>>
<<span class="tag">p</span>>...<<span class="tag">/p</span>>
</code></pre>
<h4 id="typography-semantic-text" class="s-subtitle">Semantic text elements</h4>
<div class="columns">
<div class="column col-6 col-xs-12">
<abbr title="Internationalization">I18N</abbr>
<code class="ml-2"><abbr></code>
</div>
<div class="column col-6 col-xs-12">
<strong>Bold</strong>
<code class="ml-2"><strong></code> <code><b></code>
</div>
<div class="column col-6 col-xs-12">
<cite>Citation</cite>
<code class="ml-2"><cite></code>
</div>
<div class="column col-6 col-xs-12">
<code>Hello World!</code>
<code class="ml-2"><code></code>
</div>
<div class="column col-6 col-xs-12">
<del>Deleted</del>
<code class="ml-2"><del></code>
</div>
<div class="column col-6 col-xs-12">
<em>Emphasis</em>
<code class="ml-2"><em></code>
</div>
<div class="column col-6 col-xs-12">
<i>Italic</i>
<code class="ml-2"><i></code>
</div>
<div class="column col-6 col-xs-12">
<ins>Inserted</ins>
<code class="ml-2"><ins></code>
</div>
<div class="column col-6 col-xs-12">
<kbd>Ctrl + S</kbd>
<code class="ml-2"><kbd></code>
</div>
<div class="column col-6 col-xs-12">
<mark>Highlighted</mark>
<code class="ml-2"><mark></code>
</div>
<div class="column col-6 col-xs-12">
<ruby>
漢 <rt>kan</rt>
字 <rt>ji</rt>
</ruby>
<code class="ml-2"><ruby></code>
</div>
<div class="column col-6 col-xs-12">
<s>Strikethrough</s>
<code class="ml-2"><s></code>
</div>
<div class="column col-6 col-xs-12">
<samp>Sample</samp>
<code class="ml-2"><samp></code>
</div>
<div class="column col-6 col-xs-12">
Text <sub>Subscripted</sub>
<code class="ml-2"><sub></code>
</div>
<div class="column col-6 col-xs-12">
Text <sup>Superscripted</sup>
<code class="ml-2"><sup></code>
</div>
<div class="column col-6 col-xs-12">
<time>20:00</time>
<code class="ml-2"><time></code>
</div>
<div class="column col-6 col-xs-12">
<u>Underline</u>
<code class="ml-2"><u></code>
</div>
<div class="column col-6 col-xs-12">
<var>x</var> = <var>y</var> + 2
<code class="ml-2"><var></code>
</div>
</div>
<h4 id="typography-east-asian" class="s-subtitle">Optimized for east asian fonts</h4>
<h5><small lang="zh-Hans">你好</small>, <small lang="ja">こんにちは</small>, <small lang="ko">안녕하세요</small></h5>
<div class="docs-note">
<p class="h6">Chinese (Simplified)</p>
<p lang="zh-Hans">革命不是请客吃饭,不是做文章,不是绘画绣花,不能那样雅致,那样从容不迫,“文质彬彬”,那样“温良恭俭让”。革命就是暴动,是一个阶级推翻一个阶级的暴烈的行动。</p>
<p class="h6">Chinese (Tranditional)</p>
<p lang="zh-Hant">山不在高,有仙則名;水不在深,有龍則靈。斯是陋室,惟吾德馨。苔痕上階綠,草色入簾青;談笑有鴻儒,往來無白丁。可以調素琴,閱金經。無絲竹之亂耳,無案牘之勞形。南陽諸葛廬,西蜀子雲亭。孔子云:「何陋之有?」</p>
<p class="h6">Japanese</p>
<p lang="ja">祇園精舎の鐘の声、諸行無常の響きあり。沙羅双樹の花の色、盛者必衰の理をあらはす。おごれる人も久しからず。ただ春の夜の夢のごとし。たけき者も遂にはほろびぬ、ひとへに風の前の塵に同じ。</p>
<p class="h6">Korean</p>
<p lang="ko">나라말이 중국과 달라, 한문・한자와 서로 통하지 아니하므로, 어리석은 백성들이 말하고자 하는 바가 있어도, 끝내 제 뜻을 펴지 못하는 사람이 많다. 내가 이를 불쌍히 여겨, 새로 스물 여덟 글자를 만드니, 사람마다 하여금 쉽게 익혀, 날마다 씀에 편하게 하고자 할 따름이다.</p>
</div>
<div class="docs-note">
<p>Use the <code>lang</code> attribute to the container element to have better Asian CJK (Chinese, Japanese and Korean) font support. </p>
</div>
<!-- east asian -->
<pre class="code" data-lang="HTML"><code><<span class="tag">p</span> <span class="atn">lang</span>=<span class="atv">"zh-Hans"</span>>革命不是请客吃饭,不是做文章……<<span class="tag">/p</span>>
<<span class="tag">p</span> <span class="atn">lang</span>=<span class="atv">"ja"</span>>祇園精舎の鐘の声、諸行無常の響きあり……<<span class="tag">/p</span>>
<<span class="tag">p</span> <span class="atn">lang</span>=<span class="atv">"ko"</span>>나라말이 중국과 달라, 한문・한자와 서로 통하지 아니하므로……<<span class="tag">/p</span>>
</code></pre>
<div class="docs-note">
<p>And you can use the <code>cjk</code> class or the <code>lang</code> attribute to add spacing between underlines and strike-through text for better Chinese and Japanese readability. </p>
</div>
<div class="docs-note">
<p lang="ja"><u>祇園</u><u>精舎</u>の鐘の声、諸行無常の響きあり。</p>
<p lang="ja"><del>祇園</del><del>精舎</del>の鐘の声、諸行無常の響きあり。</p>
</div>
<!-- east asian -->
<pre class="code" data-lang="HTML"><code><<span class="tag">p</span> <span class="atn">class</span>=<span class="atv">"cjk"</span>><<span class="tag">u</span>>祇園<<span class="tag">/u</span>><<span class="tag">u</span>>精舎<<span class="tag">/u</span>>の鐘の声、諸行無常の響きあり。……<<span class="tag">/p</span>>
<<span class="tag">p</span> <span class="atn">class</span>=<span class="atv">"cjk"</span>><<span class="tag">del</span>>祇園<<span class="tag">/del</span>><<span class="tag">del</span>>精舎<<span class="tag">/del</span>>の鐘の声、諸行無常の響きあり。……<<span class="tag">/p</span>>
</code></pre>
<h4 id="typography-fonts" class="s-subtitle">Fonts</h4>
<div class="docs-note">
<p>Spectre sets the most common and best <code>font-family</code> for each OS with fallback support in old systems. There are also fonts targeted East Asian typography.</p>
</div>
<!-- fonts -->
<pre class="code"><code><span class="com"><!-- Western typography targeted --></span>
<span class="atn">font-family</span>: <span class="atv">-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif</span>;
<span class="com"><!-- Monospace typography targeted --></span>
<span class="atn">font-family</span>: <span class="atv">"SF Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Courier, monospace</span>;
<span class="com"><!-- Chinese (lang="zh-Hans" and lang="zh-Hant") targeted --></span>
<span class="atn">font-family</span>: <span class="atv">-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif</span>;
<span class="com"><!-- Japanese (lang="ja") targeted --></span>
<span class="atn">font-family</span>: <span class="atv">-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic Pro", "Yu Gothic", YuGothic, Meiryo, "Helvetica Neue", sans-serif</span>;
<span class="com"><!-- Korean (lang="ko") targeted --></span>
<span class="atn">font-family</span>: <span class="atv">-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Malgun Gothic", "Helvetica Neue", sans-serif</span>;
</code></pre>
<h4 id="typography-blockquote" class="s-subtitle">Blockquote</h4>
<blockquote>
<p>The advance of technology is based on making it fit in so that you don't really even notice it, so it's part of everyday life. </p>
<cite>- Bill Gates</cite>
</blockquote>
<!-- blockquote -->
<pre class="code" data-lang="HTML"><code><<span class="tag">blockquote</span>>
<<span class="tag">p</span>>The advance of technology is based on making it fit in so that you don't really even notice it, so it's part of everyday life. <<span class="tag">/p</span>>
<<span class="tag">cite</span>>- Bill Gates<<span class="tag">/cite</span>>
<<span class="tag">/blockquote</span>>
</code></pre>
<h4 id="typography-lists" class="s-subtitle">Lists</h4>
<div class="columns">
<div class="column col-4 col-xs-12">
<ul class="list">
<li>list item 1</li>
<li>list item 2
<ul>
<li>list item 2.1</li>
<li>list item 2.2</li>
<li>list item 2.3</li>
</ul>
</li>
<li>list item 3</li>
</ul>
</div>
<div class="column col-4 col-xs-12">
<ol class="list">
<li>list item 1</li>
<li>list item 2
<ol>
<li>list item 2.1</li>
<li>list item 2.2</li>
<li>list item 2.3</li>
</ol>
</li>
<li>list item 3</li>
</ol>
</div>
<div class="column col-4 col-xs-12">
<dl class="list">
<dt>description list term 1</dt>
<dd>description list description 1</dd>
<dt>description list term 2</dt>
<dd>description list description 2</dd>
<dt>description list term 3</dt>
<dd>description list description 3</dd>
</dl>
</div>
</div>
<!-- lists -->
<pre class="code" data-lang="HTML"><code><span class="com"><!-- unordered list --></span>
<<span class="tag">ul</span>>
<<span class="tag">li</span>>list item 1<<span class="tag">/li</span>>
<<span class="tag">li</span>>list item 2
<<span class="tag">ul</span>>
<<span class="tag">li</span>>list item 2.1<<span class="tag">/li</span>>
<<span class="tag">li</span>>list item 2.2<<span class="tag">/li</span>>
<<span class="tag">li</span>>list item 2.3<<span class="tag">/li</span>>
<<span class="tag">/ul</span>>
<<span class="tag">/li</span>>
<<span class="tag">li</span>>list item 3<<span class="tag">/li</span>>
<<span class="tag">/ul</span>>
<span class="com"><!-- description list --></span>
<<span class="tag">dl</span>>
<<span class="tag">dt</span>>description list term<<span class="tag">/dt</span>>
<<span class="tag">dd</span>>description list description<<span class="tag">/dd</span>>
<<span class="tag">/dl</span>>
</code></pre>
</div>
<div class="container">
<div class="docs-ad docs-ad-sidebar">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- github-vertical-sm -->
<ins class="adsbygoogle"
style="display:inline-block;width:120px;height:240px"
data-ad-client="ca-pub-2225124559530218"
data-ad-slot="5087273059"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
<div id="tables" class="container">
<h3 class="s-title"><a href="#tables" class="anchor" aria-hidden="true">#</a>Tables</h3>
<div class="docs-note">
<p>Tables include default styles for tables and data sets.</p>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Genre</th>
<th>Release date</th>
</tr>
</thead>
<tbody>
<tr>
<td>The Shawshank Redemption</td>
<td>Crime, Drama</td>
<td>14 October 1994</td>
</tr>
<tr>
<td>The Godfather</td>
<td>Crime, Drama</td>
<td>24 March 1972</td>
</tr>
<tr>
<td>Schindler's List</td>
<td>Biography, Drama, History</td>
<td>4 February 1994</td>
</tr>
<tr>
<td>Se7en</td>
<td>Crime, Drama, Mystery</td>
<td>22 September 1995</td>
</tr>
</tbody>
</table>
<div class="docs-note">
<p>Add the <code>table</code> class to any <table> element. The class will add padding, border and emphasized table header. Use the <code>table-striped</code> class to <table> to add zebra striped style. For hoverable table rows, you can add the <code>table-hover</code> class to enable hover style. </p>
<p>Use the <code>active</code> class to make <tr> element highlighted. </p>
</div>
<!-- tables -->
<pre class="code" data-lang="HTML"><code><<span class="tag">table</span> <span class="atn">class</span>=<span class="atv">"table table-striped table-hover"</span>>
<<span class="tag">thead</span>>
<<span class="tag">tr</span>>
<<span class="tag">th</span>>name<<span class="tag">/th</span>>
<<span class="tag">th</span>>genre<<span class="tag">/th</span>>
<<span class="tag">th</span>>release date<<span class="tag">/th</span>>
<<span class="tag">/tr</span>>
<<span class="tag">/thead</span>>
<<span class="tag">tbody</span>>
<<span class="tag">tr</span> <span class="atn">class</span>=<span class="atv">"active"</span>>
<<span class="tag">td</span>>The Shawshank Redemption<<span class="tag">/td</span>>
<<span class="tag">td</span>>Crime, Drama<<span class="tag">/td</span>>
<<span class="tag">td</span>>14 October 1994<<span class="tag">/td</span>>
<<span class="tag">/tr</span>>
<<span class="tag">/tbody</span>>
<<span class="tag">/table</span>>
</code></pre>
<div class="docs-note">
<p>If you need the tables with horizontal scroll, add the <code>table-scroll</code> class to the <table> element. </p>
</div>
<table class="table table-scroll">
<thead>
<tr>
<th>Name</th>
<th>Genre</th>
<th>Director</th>
<th>Rating</th>
<th>Duration</th>
<th>Release date</th>
</tr>
</thead>
<tbody>
<tr>
<td>The Shawshank Redemption</td>
<td>Crime, Drama</td>
<td>Frank Darabont</td>
<td>R</td>
<td>2h 22min</td>
<td>14 October 1994</td>
</tr>
<tr>
<td>The Godfather</td>
<td>Crime, Drama</td>
<td>Francis Ford Coppola</td>
<td>R</td>
<td>2h 55min</td>
<td>24 March 1972</td>
</tr>
<tr>
<td>Schindler's List</td>
<td>Biography, Drama, History</td>
<td>Steven Spielberg</td>
<td>R</td>
<td>3h 15min</td>
<td>4 February 1994</td>
</tr>
<tr>
<td>Se7en</td>
<td>Crime, Drama, Mystery</td>
<td>David Fincher</td>
<td>R</td>
<td>2h 7min</td>
<td>22 September 1995</td>
</tr>
</tbody>
</table>
<!-- tables -->
<pre class="code" data-lang="HTML"><code><<span class="tag">table</span> <span class="atn">class</span>=<span class="atv">"table table-scroll"</span>>
<span class="com"><!-- table content --></span>
<<span class="tag">/table</span>>
</code></pre>
</div>
<div id="buttons" class="container">
<h3 class="s-title"><a href="#buttons" class="anchor" aria-hidden="true">#</a>Buttons</h3>
<div class="docs-note">
<p>Buttons include simple button styles for actions in different types and sizes. </p>
</div>
<div class="columns">
<div class="column col-xs-12">
<button class="btn">default button</button>
<button class="btn btn-primary">primary button</button>
<button class="btn btn-link">link button</button>
</div>
</div>
<div class="docs-note">
<p>Add the <code>btn</code> class to <a>, <input> or <button> elements for a default button. There are classes <code>btn-primary</code> and <code>btn-link</code> for predefined primary and link buttons. </p>
</div>
<!-- buttons -->
<pre class="code" data-lang="HTML"><code><<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn"</span>>default button<<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-primary"</span>>primary button<<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-link"</span>>link button<<span class="tag">/button</span>>
</code></pre>
<h4 id="buttons-colors" class="s-subtitle">Button colors</h4>
<div class="columns">
<div class="column col-12">
<button class="btn btn-success">success button</button>
<button class="btn btn-error">error button</button>
</div>
</div>
<div class="docs-note">
<p>Add the <code>btn-success</code> or <code>btn-error</code> class for success (green) or error (red) button color. If you need more button colors, please use <a href="getting-started.html#variables-buttons">button mixins</a> to create your own button color variants. </p>
</div>
<!-- buttons -->
<pre class="code" data-lang="HTML"><code><<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-success"</span>>success button<<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-error"</span>>error button<<span class="tag">/button</span>>
</code></pre>
<h4 id="buttons-sizes" class="s-subtitle">Button sizes</h4>
<div class="columns">
<div class="column col-12">
<button class="btn btn-primary btn-lg">large <i class="icon icon-arrow-down"></i></button>
<button class="btn btn-primary btn-lg">large button</button>
</div>
<div class="column col-12">
<button class="btn btn-primary">normal <i class="icon icon-arrow-down"></i></button>
<button class="btn btn-primary">normal button</button>
</div>
<div class="column col-12">
<button class="btn btn-primary btn-sm">small <i class="icon icon-arrow-down"></i></button>
<button class="btn btn-primary btn-sm">small button</button>
</div>
</div>
<div class="docs-note">
<p>Add the <code>btn-sm</code> or <code>btn-lg</code> class for small or large button size. Also, you can add the <code>btn-block</code> class for a full-width button. </p>
</div>
<!-- buttons -->
<pre class="code" data-lang="HTML"><code><<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-lg"</span>>large button<<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-sm"</span>>small button<<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-block"</span>>block button<<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-primary btn-lg"</span>><<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"icon icon-arrow-left"</span>><<span class="tag">/i</span>> large<<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-primary"</span>><<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"icon icon-arrow-left"</span>><<span class="tag">/i</span>> normal<<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-primary btn-sm"</span>><<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"icon icon-arrow-left"</span>><<span class="tag">/i</span>> small<<span class="tag">/button</span>>
</code></pre>
<div class="docs-note">
<p>Please note that you could use the <code>btn-action</code> class for a square button, or add another <code>circle</code> class for a round button, which is often used as a Float Action Button (FAB).</p>
</div>
<div class="columns">
<div class="column col-xs-12">
<button class="btn btn-action btn-primary btn-lg"><i class="icon icon-menu"></i></button>
<button class="btn btn-action btn-primary"><i class="icon icon-menu"></i></button>
<button class="btn btn-action btn-primary btn-sm"><i class="icon icon-menu"></i></button>
</div>
<div class="column col-xs-12">
<button class="btn btn-action btn-primary btn-lg circle"><i class="icon icon-arrow-up"></i></button>
<button class="btn btn-action btn-primary circle"><i class="icon icon-arrow-up"></i></button>
<button class="btn btn-action btn-primary btn-sm circle"><i class="icon icon-arrow-up"></i></button>
</div>
</div>
<!-- buttons -->
<pre class="code" data-lang="HTML"><code><<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-action"</span>><<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"icon icon-arrow-left"</span>><<span class="tag">/i</span>><<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-action circle"</span>><<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"icon icon-arrow-left"</span>><<span class="tag">/i</span>><<span class="tag">/button</span>>
</code></pre>
<h4 id="buttons-states" class="s-subtitle">Button states</h4>
<div class="docs-note">
<p>Add the <code>active</code> class for active button state style.</p>
</div>
<div class="columns">
<div class="column col-xs-12">
<button class="btn active">default active</button>
<button class="btn btn-primary active">primary active</button>
<button class="btn btn-link active">link active</button>
</div>
</div>
<!-- buttons -->
<pre class="code" data-lang="HTML"><code><span class="com"><!-- buttons with disabled state --></span>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn disabled"</span> <span class="atn">tabindex</span>=<span class="atv">"-1"</span>>disabled button<<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn"</span> <span class="atn">disabled</span> <span class="atn">tabindex</span>=<span class="atv">"-1"</span>>disabled button<<span class="tag">/button</span>>
</code></pre>
<div class="docs-note">
<p>Add the <code>disabled</code> class or the <code>disabled</code> attribute for disabled button state style.</p>
</div>
<div class="columns">
<div class="column col-xs-12">
<button class="btn disabled" tabindex="-1">default disabled</button>
<button class="btn btn-primary" disabled tabindex="-1">primary disabled</button>
<button class="btn btn-link" disabled tabindex="-1">link disabled</button>
</div>
</div>
<!-- buttons -->
<pre class="code" data-lang="HTML"><code><span class="com"><!-- buttons with disabled state --></span>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn disabled"</span> <span class="atn">tabindex</span>=<span class="atv">"-1"</span>>disabled button<<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn"</span> <span class="atn">disabled</span> <span class="atn">tabindex</span>=<span class="atv">"-1"</span>>disabled button<<span class="tag">/button</span>>
</code></pre>
<div class="docs-note">
<p>A button with the <code>loading</code> class can show loading indicator.</p>
</div>
<div class="columns">
<div class="column col-xs-12">
<button class="btn loading">default button</button>
<button class="btn btn-primary loading">primary button</button>
<button class="btn btn-link loading">link button</button>
</div>
</div>
<!-- buttons -->
<pre class="code" data-lang="HTML"><code><span class="com"><!-- a button with loading state --></span>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn loading"</span>>button<<span class="tag">/button</span>>
</code></pre>
<h4 id="buttons-groups" class="s-subtitle">Button groups</h4>
<div class="columns">
<div class="column col-md-12">
<div class="btn-group">
<button class="btn">first button</button>
<button class="btn">second button</button>
<button class="btn">third button</button>
</div>
</div>
<div class="column col-md-12">
<div class="btn-group btn-group-block">
<button class="btn btn-primary">first button</button>
<button class="btn btn-primary">second button</button>
<button class="btn btn-primary">third button</button>
</div>
</div>
</div>
<div class="columns">
<div class="column col-md-12">
<div class="btn-group">
<button class="btn btn-sm active">first button</button>
<button class="btn btn-sm">second button</button>
<button class="btn btn-sm">third button</button>
</div>
</div>
<div class="column col-md-12">
<div class="btn-group btn-group-block">
<button class="btn btn-primary btn-sm active">first button</button>
<button class="btn btn-primary btn-sm">second button</button>
<button class="btn btn-primary btn-sm">third button</button>
</div>
</div>
</div>
<div class="docs-note">
<p>If you want to use buttons as a group, add the <code>btn-group</code> class to the container. You can add the <code>btn-group-block</code> class for a full-width button group.</p>
</div>
<!-- button groups -->
<pre class="code" data-lang="HTML"><code><<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"btn-group btn-group-block"</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn"</span>>first button<<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn"</span>>second button<<span class="tag">/button</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn"</span>>third button<<span class="tag">/button</span>>
<<span class="tag">/div</span>>
</code></pre>
</div>
<div id="forms" class="container">
<h3 class="s-title"><a href="#forms" class="anchor" aria-hidden="true">#</a>Forms</h3>
<div class="docs-note">
<p>Forms provide the most common control styles used in forms, including input, textarea, select, checkbox, radio and switch. </p>
</div>
<div class="columns">
<div class="column col-6 col-xs-12">
<div class="form-group">
<label class="form-label" for="input-example-1">Name</label>
<input class="form-input" type="text" id="input-example-1" placeholder="Name">
</div>
<div class="form-group">
<label class="form-label" for="input-example-2">Email</label>
<input class="form-input" type="email" id="input-example-2" placeholder="Email">
</div>
</div>
</div>
<pre class="code" data-lang="HTML"><code><span class="com"><!-- form input control --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"form-group"</span>>
<<span class="tag">label</span> <span class="atn">class</span>=<span class="atv">"form-label"</span> <span class="atn">for</span>=<span class="atv">"input-example-1"</span>>Name<<span class="tag">/label</span>>
<<span class="tag">input</span> <span class="atn">class</span>=<span class="atv">"form-input"</span> <span class="atn">type</span>=<span class="atv">"text"</span> <span class="atn">id</span>=<span class="atv">"input-example-1"</span> <span class="atn">placeholder</span>=<span class="atv">"Name"</span>>
<<span class="tag">/div</span>>
</code></pre>
<div class="columns">
<div class="column col-6 col-xs-12">
<div class="form-group">
<label class="form-label" for="input-example-3">Message</label>
<textarea class="form-input" id="input-example-3" placeholder="Textarea" rows="3"></textarea>
</div>
</div>
</div>
<pre class="code" data-lang="HTML"><code><span class="com"><!-- form textarea control --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"form-group"</span>>
<<span class="tag">label</span> <span class="atn">class</span>=<span class="atv">"form-label"</span> <span class="atn">for</span>=<span class="atv">"input-example-3"</span>>Message<<span class="tag">/label</span>>
<<span class="tag">textarea</span> <span class="atn">class</span>=<span class="atv">"form-input"</span> <span class="atn">id</span>=<span class="atv">"input-example-3"</span> <span class="atn">placeholder</span>=<span class="atv">"Textarea"</span> <span class="atn">rows</span>=<span class="atv">"3"</span>><<span class="tag">/textarea</span>>
<<span class="tag">/div</span>>
</code></pre>
<div class="columns">
<div class="column col-6 col-xs-12">
<div class="form-group">
<select class="form-select">
<option>Choose an option</option>
<option>Slack</option>
<option>Skype</option>
<option>Hipchat</option>
</select>
</div>
<div class="form-group">
<select class="form-select" multiple>
<option>Choose an option</option>
<option>Slack</option>
<option>Skype</option>
<option>Hipchat</option>
</select>
</div>
</div>
</div>
<pre class="code" data-lang="HTML"><code><span class="com"><!-- form select control --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"form-group"</span>>
<<span class="tag">select</span> <span class="atn">class</span>=<span class="atv">"form-select"</span>>
<<span class="tag">option</span>>Choose an option<<span class="tag">/option</span>>
<<span class="tag">option</span>>Slack<<span class="tag">/option</span>>
<<span class="tag">option</span>>Skype<<span class="tag">/option</span>>
<<span class="tag">option</span>>Hipchat<<span class="tag">/option</span>>
<<span class="tag">/select</span>>
<<span class="tag">/div</span>>
</code></pre>
<div class="columns">
<div class="column col-6 col-xs-12">
<form>
<div class="form-group">
<label class="form-label">Gender</label>
<label class="form-radio">
<input type="radio" name="gender" checked>
<i class="form-icon"></i> Male
</label>
<label class="form-radio">
<input type="radio" name="gender">
<i class="form-icon"></i> Female
</label>
</div>
</form>
</div>
</div>
<pre class="code" data-lang="HTML"><code><span class="com"><!-- form radio control --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"form-group"</span>>
<<span class="tag">label</span> <span class="atn">class</span>=<span class="atv">"form-label"</span>>Gender<<span class="tag">/label</span>>
<<span class="tag">label</span> <span class="atn">class</span>=<span class="atv">"form-radio"</span>>
<<span class="tag">input</span> <span class="atn">type</span>=<span class="atv">"radio"</span> <span class="atn">name</span>=<span class="atv">"gender"</span> <span class="atn">checked</span>>
<<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"form-icon"</span>><<span class="tag">/i</span>> Male
<<span class="tag">/label</span>>
<<span class="tag">label</span> <span class="atn">class</span>=<span class="atv">"form-radio"</span>>
<<span class="tag">input</span> <span class="atn">type</span>=<span class="atv">"radio"</span> <span class="atn">name</span>=<span class="atv">"gender"</span>>
<<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"form-icon"</span>><<span class="tag">/i</span>> Female
<<span class="tag">/label</span>>
<<span class="tag">/div</span>>
</code></pre>
<div class="columns">
<div class="column col-6 col-xs-12">
<div class="form-group">
<label class="form-switch">
<input type="checkbox">
<i class="form-icon"></i> Send me emails with news and tips
</label>
</div>
<div class="form-group">
<label class="form-switch">
<input type="checkbox" checked>
<i class="form-icon"></i> Send me emails with news and tips
</label>
</div>
</div>
</div>
<pre class="code" data-lang="HTML"><code><span class="com"><!-- form switch control --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"form-group"</span>>
<<span class="tag">label</span> <span class="atn">class</span>=<span class="atv">"form-switch"</span>>
<<span class="tag">input</span> <span class="atn">type</span>=<span class="atv">"checkbox"</span>>
<<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"form-icon"</span>><<span class="tag">/i</span>> Send me emails with news and tips
<<span class="tag">/label</span>>
<<span class="tag">/div</span>>
</code></pre>
<div class="columns">
<div class="column col-6 col-xs-12">
<div class="form-group">
<label class="form-checkbox">
<input type="checkbox">
<i class="form-icon"></i> Remember me
</label>
</div>
<div class="form-group">
<label class="form-checkbox">
<input type="checkbox" checked>
<i class="form-icon"></i> Remember me
</label>
</div>
</div>
</div>
<pre class="code" data-lang="HTML"><code><span class="com"><!-- form checkbox control --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"form-group"</span>>
<<span class="tag">label</span> <span class="atn">class</span>=<span class="atv">"form-checkbox"</span>>
<<span class="tag">input</span> <span class="atn">type</span>=<span class="atv">"checkbox"</span>>
<<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"form-icon"</span>><<span class="tag">/i</span>> Remember me
<<span class="tag">/label</span>>
<<span class="tag">/div</span>>
</code></pre>
<div class="docs-note">
<p>You can use <code>:indeterminate</code> pseudo class for indeterminate state of checkboxes.</p>
</div>
<h4 id="forms-horizontal" class="s-subtitle">Horizontal forms</h4>
<div class="docs-note">
<p>If you want to have a horizontal form, add the <code>form-horizontal</code> class to the <form> container. And add the <code>col-[1-12]</code> class to the child elements for form row layout. </p>
</div>
<div class="columns">
<div class="column col-9 col-sm-12">
<form class="form-horizontal" action="#forms">
<div class="form-group">
<div class="col-3">
<label class="form-label" for="input-example-4">Name</label>
</div>
<div class="col-9">
<input class="form-input" type="text" id="input-example-4" placeholder="Name">
</div>
</div>
<div class="form-group">
<div class="col-3">
<label class="form-label" for="input-example-5">Email</label>
</div>
<div class="col-9">
<input class="form-input" type="email" id="input-example-5" placeholder="Email">
</div>
</div>
<div class="form-group">
<div class="col-3">
<label class="form-label">Gender</label>
</div>
<div class="col-9">
<label class="form-radio">
<input type="radio" name="gender">
<i class="form-icon"></i> Male
</label>
<label class="form-radio">
<input type="radio" name="gender" checked>
<i class="form-icon"></i> Female
</label>
</div>
</div>
<div class="form-group">
<div class="col-3">
<label class="form-label">Source</label>
</div>
<div class="col-9">
<select class="form-select" multiple>
<option>Slack</option>
<option>Skype</option>
<option>Hipchat</option>
</select>
</div>
</div>
<div class="form-group">
<div class="col-9 col-ml-auto">
<label class="form-switch">
<input type="checkbox">
<i class="form-icon"></i> Send me emails with news and tips
</label>
</div>
</div>
<div class="form-group">
<div class="col-3">
<label class="form-label" for="input-example-6">Message</label>
</div>
<div class="col-9">
<textarea class="form-input" id="input-example-6" placeholder="Textarea" rows="3"></textarea>
</div>
</div>
<div class="form-group">
<div class="col-9 col-ml-auto">
<label class="form-checkbox">
<input type="checkbox">
<i class="form-icon"></i> Remember me
</label>
</div>
</div>
</form>
</div>
</div>
<!-- forms -->
<pre class="code" data-lang="HTML"><code><<span class="tag">form</span> <span class="atn">class</span>=<span class="atv">"form-horizontal"</span>>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"form-group"</span>>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"col-3"</span>>
<<span class="tag">label</span> <span class="atn">class</span>=<span class="atv">"form-label"</span> <span class="atn">for</span>=<span class="atv">"input-example-1"</span>>Name<<span class="tag">/label</span>>
<<span class="tag">/div</span>>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"col-9"</span>>
<<span class="tag">input</span> <span class="atn">class</span>=<span class="atv">"form-input"</span> <span class="atn">type</span>=<span class="atv">"text"</span> <span class="atn">id</span>=<span class="atv">"input-example-1"</span> <span class="atn">placeholder</span>=<span class="atv">"Name"</span>>
<<span class="tag">/div</span>>
<<span class="tag">/div</span>>
<span class="com"><!-- form structure --></span>
<<span class="tag">/form</span>>
</code></pre>
<h4 id="forms-sizes" class="s-subtitle">Form sizes</h4>
<div class="docs-note">
<p>For smaller or larger input and select controls, you could add the <code>input-sm</code>/<code>input-lg</code>, <code>select-sm</code>/<code>select-lg</code> and <code>label-sm</code>/<code>label-lg</code> classes to the elements.</p>
</div>
<div class="columns">
<div class="column col-4 col-xs-12">
<label class="form-label label-sm">Label</label>
</div>
<div class="column col-4 col-xs-12">
<input class="form-input input-sm" type="text" placeholder="Name">
</div>
<div class="column col-4 col-xs-12">
<select class="form-select select-sm">
<option>Choose an option</option>
<option>Slack</option>
<option>Skype</option>
<option>Hipchat</option>
</select>
</div>
</div>
<div class="columns">
<div class="column col-4 col-xs-12">
<label class="form-label label-lg">Label</label>
</div>
<div class="column col-4 col-xs-12">
<input class="form-input input-lg" type="text" placeholder="Name">
</div>
<div class="column col-4 col-xs-12">
<select class="form-select select-lg">
<option>Choose an option</option>
<option>Slack</option>
<option>Skype</option>
<option>Hipchat</option>
</select>
</div>
</div>
<h4 id="forms-icons" class="s-subtitle">Form icons</h4>
<div class="docs-note">
<p>Spectre Form components has <a href="#icons">Spectre Icons</a> support.</p>
<p>Add a wrapper with the <code>has-icon-left</code>/<code>has-icon-right</code> class to <input> element. And add the icon with <code>form-icon</code> class next to the <input>.</p>
</div>
<div class="columns">
<div class="column col-4 col-xs-12">
<div class="has-icon-left">
<input class="form-input input-sm" type="text" placeholder="Name">
<i class="form-icon icon icon-arrow-right"></i>
</div>
</div>
<div class="column col-4 col-xs-12">
<div class="has-icon-left tooltip" data-tooltip="Lorem ipsum dolor sit amet">
<input class="form-input" type="text" placeholder="Name">
<i class="form-icon icon icon-arrow-right"></i>
</div>
</div>
<div class="column col-4 col-xs-12">
<div class="has-icon-left">
<input class="form-input input-lg" type="text" placeholder="Name">
<i class="form-icon icon icon-arrow-right"></i>
</div>
</div>
</div>
<div class="columns">
<div class="column col-4 col-xs-12">
<div class="has-icon-right">
<input class="form-input input-sm" type="text" placeholder="Name">
<i class="form-icon icon icon-check"></i>
</div>
</div>
<div class="column col-4 col-xs-12">
<div class="has-icon-right">
<input class="form-input" type="text" placeholder="Name">
<i class="form-icon icon icon-check"></i>
</div>
</div>
<div class="column col-4 col-xs-12">
<div class="has-icon-right">
<input class="form-input input-lg" type="text" placeholder="Name">
<i class="form-icon icon icon-check"></i>
</div>
</div>
</div>
<!-- form icons -->
<pre class="code" data-lang="HTML"><code><span class="com"><!-- form input with Spectre icon --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"has-icon-left"</span>>
<<span class="tag">input</span> <span class="atn">type</span>=<span class="atv">"text"</span> <span class="atn">class</span>=<span class="atv">"form-input"</span> <span class="atn">placeholder</span>=<span class="atv">"..."</span>>
<<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"form-icon icon icon-check"</span>><<span class="tag">/i</span>>
<<span class="tag">/div</span>>
</code></pre>
<div class="docs-note">
<p>You can use the <code>loading</code> class for loading or posting state.</p>
</div>
<div class="columns">
<div class="column col-4 col-xs-12">
<div class="has-icon-right">
<input class="form-input input-sm" type="text" placeholder="Name">
<i class="form-icon loading"></i>
</div>
</div>
<div class="column col-4 col-xs-12">
<div class="has-icon-right">
<input class="form-input" type="text" placeholder="Name">
<i class="form-icon loading"></i>
</div>
</div>
<div class="column col-4 col-xs-12">
<div class="has-icon-right">
<input class="form-input input-lg" type="text" placeholder="Name">
<i class="form-icon loading"></i>
</div>
</div>
</div>
<pre class="code" data-lang="HTML"><code><span class="com"><!-- form input with loading icon --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"has-icon-right"</span>>
<<span class="tag">input</span> <span class="atn">type</span>=<span class="atv">"text"</span> <span class="atn">class</span>=<span class="atv">"form-input"</span> <span class="atn">placeholder</span>=<span class="atv">"..."</span>>
<<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"form-icon loading"</span>><<span class="tag">/i</span>>
<<span class="tag">/div</span>>
</code></pre>
<h4 id="forms-input" class="s-subtitle">Input types</h4>
<div class="columns">
<div class="column col-9 col-sm-12">
<form class="form-horizontal" action="#forms">
<div class="form-group">
<div class="col-3">
<label class="form-label" for="input-example-8">Email</label>
</div>
<div class="col-9">
<input class="form-input" type="email" id="input-example-8" placeholder="Email" value="spectre@example.com" pattern="[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$">
</div>
</div>
<div class="form-group">
<div class="col-3">
<label class="form-label" for="input-example-9">URL</label>
</div>
<div class="col-9">
<input class="form-input" type="url" id="input-example-9" placeholder="URL" value="https://github.com/picturepan2/spectre">
</div>
</div>
<div class="form-group">
<div class="col-3">
<label class="form-label" for="input-example-10">Search</label>
</div>
<div class="col-9">
<input class="form-input" type="search" id="input-example-10" placeholder="Search">
</div>
</div>
<div class="form-group">
<div class="col-3">
<label class="form-label" for="input-example-11">Tel</label>
</div>
<div class="col-9">
<input class="form-input" type="tel" id="input-example-11" placeholder="Tel" value="1-(888)-888-8888">
</div>
</div>
<div class="form-group">
<div class="col-3">
<label class="form-label" for="input-example-12">Password</label>
</div>
<div class="col-9">
<input class="form-input" type="password" id="input-example-12" placeholder="Password" value="123456789">
</div>
</div>
<div class="form-group">
<div class="col-3">
<label class="form-label" for="input-example-13">Number</label>
</div>
<div class="col-9">
<input class="form-input" type="number" id="input-example-13" placeholder="00" value="66">
</div>
</div>
<div class="form-group">
<div class="col-3">
<label class="form-label" for="input-example-14">Date</label>
</div>
<div class="col-9">
<input class="form-input" type="date" id="input-example-14" value="2016-12-31">
</div>
</div>
<div class="form-group">
<div class="col-3">
<label class="form-label" for="input-example-15">Color</label>
</div>
<div class="col-9">
<input class="form-input" type="color" id="input-example-15" value="#5755d9">
</div>
</div>
<div class="form-group">
<div class="col-3">
<label class="form-label" for="input-example-16">File</label>
</div>
<div class="col-9">
<input class="form-input" type="file" id="input-example-16">
</div>
</div>
</form>
</div>
</div>
<h4 id="forms-input-groups" class="s-subtitle">Input groups</h4>
<div class="columns">
<div class="column col-xs-12">
<div class="input-group">
<input type="text" class="form-input input-sm" placeholder="username">
<select class="form-select select-sm">
<option>Slack</option>
<option>Skype</option>
<option>Hipchat</option>
</select>
</div>
</div>
<div class="column col-xs-12">
<div class="input-group">
<span class="input-group-addon addon-sm">slack.com/</span>
<input type="text" class="form-input input-sm" placeholder="site name">
<button class="btn btn-primary input-group-btn btn-sm">Submit</button>
</div>
</div>
</div>
<div class="columns">
<div class="column col-xs-12">
<div class="input-group">
<input type="text" class="form-input" placeholder="username">
<select class="form-select">
<option>Slack</option>
<option>Skype</option>
<option>Hipchat</option>
</select>
</div>
</div>
<div class="column col-xs-12">
<div class="input-group">
<span class="input-group-addon">slack.com/</span>
<input type="text" class="form-input" placeholder="site name">
<button class="btn btn-primary input-group-btn">Submit</button>
</div>
</div>
</div>
<div class="columns">
<div class="column col-xs-12">
<div class="input-group">
<input type="text" class="form-input input-lg" placeholder="username">
<select class="form-select select-lg">
<option>Slack</option>
<option>Skype</option>
<option>Hipchat</option>
</select>
</div>
</div>
<div class="column col-xs-12">
<div class="input-group">
<span class="input-group-addon addon-lg">slack.com/</span>
<input type="text" class="form-input input-lg" placeholder="site name">
<button class="btn btn-primary input-group-btn btn-lg">Submit</button>
</div>
</div>
</div>
<div class="docs-note">
<p>If you want to attach text and button along with an input, add the <code>input-group</code> class to the input container. And add the <code>input-group-addon</code> class to the text element and <code>input-group-btn</code> to the button element.</p>
</div>
<!-- input groups -->
<pre class="code" data-lang="HTML"><code><span class="com"><!-- normal input group --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"input-group"</span>>
<<span class="tag">span</span> <span class="atn">class</span>=<span class="atv">"input-group-addon"</span>>...<<span class="tag">/span</span>>
<<span class="tag">input</span> <span class="atn">type</span>=<span class="atv">"text"</span> <span class="atn">class</span>=<span class="atv">"form-input"</span> <span class="atn">placeholder</span>=<span class="atv">"..."</span>>
<<span class="tag">/div</span>>
<span class="com"><!-- large input group --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"input-group"</span>>
<<span class="tag">span</span> <span class="atn">class</span>=<span class="atv">"input-group-addon addon-lg"</span>>...<<span class="tag">/span</span>>
<<span class="tag">input</span> <span class="atn">type</span>=<span class="atv">"text"</span> <span class="atn">class</span>=<span class="atv">"form-input input-lg"</span> <span class="atn">placeholder</span>=<span class="atv">"..."</span>>
<<span class="tag">/div</span>>
<span class="com"><!-- normal input group with button --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"input-group"</span>>
<<span class="tag">span</span> <span class="atn">class</span>=<span class="atv">"input-group-addon"</span>>...<<span class="tag">/span</span>>
<<span class="tag">input</span> <span class="atn">type</span>=<span class="atv">"text"</span> <span class="atn">class</span>=<span class="atv">"form-input"</span> <span class="atn">placeholder</span>=<span class="atv">"..."</span>>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-primary input-group-btn"</span>>Submit<<span class="tag">/button</span>>
<<span class="tag">/div</span>>
</code></pre>
<h4 id="forms-validation" class="s-subtitle">Form validation styles</h4>
<div class="docs-note">
<p>To use form validation styles, add <code>is-success</code> or <code>is-error</code> class to the controls or add <code>has-success</code> or <code>has-error</code> class to parent elements. You can use the <code>form-input-hint</code> class to provide form validation success and error messages.</p>
</div>
<div class="columns">
<div class="column col-9 col-sm-12">
<fieldset>
<legend>Input</legend>
<div class="form-group">
<label class="form-label" for="input-example-17">Name</label>
<input class="form-input is-success" type="text" id="input-example-17" placeholder="Name">
<p class="form-input-hint">The name is valid.</p>
</div>
<div class="form-group has-error">
<label class="form-label" for="input-example-18">Password</label>
<input class="form-input" type="password" id="input-example-18" placeholder="Password">
<p class="form-input-hint">Passwords must have at least 8 characters.</p>
</div>
<div class="form-group">
<label class="form-label" for="input-example-21">Email</label>
<input class="form-input" type="text" id="input-example-21" placeholder="Email" pattern="[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$">
<p class="form-input-hint">The Email address is unavailable.</p>
</div>
</fieldset>
<fieldset>
<legend>Select</legend>
<div class="form-group">
<select class="form-select is-error">
<option>Choose an option</option>
<option>Slack</option>
<option>Skype</option>
<option>Hipchat</option>
</select>
<p class="form-input-hint">The option is invalid.</p>
</div>
<div class="form-group has-success">
<select class="form-select">
<option>Choose an option</option>
<option>Slack</option>
<option>Skype</option>
<option>Hipchat</option>
</select>
<p class="form-input-hint">The option is available.</p>
</div>
</fieldset>
<fieldset>
<legend>Checkbox, Radio and Switch (Error state only)</legend>
<div class="form-group">
<label class="form-checkbox is-error">
<input type="checkbox" checked>
<i class="form-icon"></i> I'm not a robot.
</label>
</div>
<div class="form-group has-error">
<label class="form-radio">
<input type="radio" name="gender" checked>
<i class="form-icon"></i> Male
</label>
<label class="form-radio">
<input type="radio" name="gender">
<i class="form-icon"></i> Female
</label>
</div>
<div class="form-group">
<label class="form-switch is-error">
<input type="checkbox" checked>
<i class="form-icon"></i> Send me emails with news and tips
</label>
</div>
</fieldset>
</div>
</div>
<!-- forms -->
<pre class="code" data-lang="HTML"><code><<span class="tag">form</span>>
<span class="com"><!-- form validation class: has-success --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"form-group has-success"</span>>
<<span class="tag">label</span> <span class="atn">class</span>=<span class="atv">"form-label"</span> <span class="atn">for</span>=<span class="atv">"input-example-1"</span>>Name<<span class="tag">/label</span>>
<<span class="tag">input</span> <span class="atn">class</span>=<span class="atv">"form-input"</span> <span class="atn">type</span>=<span class="atv">"text"</span> <span class="atn">id</span>=<span class="atv">"input-example-1"</span> <span class="atn">placeholder</span>=<span class="atv">"..."</span>>
<<span class="tag">p</span> <span class="atn">class</span>=<span class="atv">"form-input-hint"</span>>The name is invalid.<<span class="tag">/p</span>>
<<span class="tag">/div</span>>
<span class="com"><!-- form validation class: is-success --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"form-group"</span>>
<<span class="tag">label</span> <span class="atn">class</span>=<span class="atv">"form-label"</span> <span class="atn">for</span>=<span class="atv">"input-example-1"</span>>Name<<span class="tag">/label</span>>
<<span class="tag">input</span> <span class="atn">class</span>=<span class="atv">"form-input is-success"</span> <span class="atn">type</span>=<span class="atv">"text"</span> <span class="atn">id</span>=<span class="atv">"input-example-1"</span> <span class="atn">placeholder</span>=<span class="atv">"..."</span>>
<<span class="tag">p</span> <span class="atn">class</span>=<span class="atv">"form-input-hint"</span>>The name is invalid.<<span class="tag">/p</span>>
<<span class="tag">/div</span>>
<span class="com"><!-- form validation example for checkbox, radio and switch --></span>
<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"form-group"</span>>
<<span class="tag">label</span> <span class="atn">class</span>=<span class="atv">"form-checkbox is-error"</span>>
<<span class="tag">input</span> <span class="atn">type</span>=<span class="atv">"checkbox"</span>>
<<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"form-icon"</span>><<span class="tag">/i</span>> Remember me
<<span class="tag">/label</span>>
<<span class="tag">/div</span>>
<<span class="tag">/form</span>>
</code></pre>
<h4 id="forms-disabled" class="s-subtitle">Form disabled styles</h4>
<div class="docs-note">
<p>Add the <code>disabled</code> attribute to the element or <fieldset> for a disabled form components style.</p>
</div>
<div class="columns">
<div class="column col-6 col-xs-12">
<form action="#forms">
<fieldset disabled>
<div class="form-group">
<label class="form-label" for="input-example-19">Name</label>
<input class="form-input" type="text" id="input-example-19" placeholder="Name">
</div>
<div class="form-group">
<label class="form-label">Gender</label>
<label class="form-radio">
<input type="radio" name="gender" disabled>
<i class="form-icon"></i> Male
</label>
<label class="form-radio">
<input type="radio" name="gender" disabled>
<i class="form-icon"></i> Female
</label>
</div>
<div class="form-group">
<select class="form-select" disabled>
<option>Choose an option</option>
<option>Slack</option>
<option>Skype</option>
<option>Hipchat</option>
</select>
</div>
<div class="form-group">
<label class="form-switch">
<input type="checkbox" disabled>
<i class="form-icon"></i> Send me emails with news and tips
</label>
</div>
<div class="form-group">
<label class="form-label" for="input-example-20">Message</label>
<textarea class="form-input" id="input-example-20" placeholder="Textarea" rows="3" disabled></textarea>
</div>
<div class="form-group">
<label class="form-checkbox">
<input type="checkbox" disabled>
<i class="form-icon"></i> Remember me
</label>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<div id="icons" class="container">
<h3 class="s-title"><a href="#icons" class="anchor" aria-hidden="true">#</a>Icons <small class="label">experimental</small></h3>
<div class="docs-note">
<p>Icons are single-element, responsive and pure CSS icons. You can include <code>spectre-icons.css</code> located in the <code>dist</code> folder to your web <head> to have these CSS icons.</p>
</div>
<h4 id="icons-navigation" class="s-subtitle">Navigation icons</h4>
<div class="columns">
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-arrow-up"></i>
</button>
<p>icon-arrow-up</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-arrow-right"></i>
</button>
<p>icon-arrow-right</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-arrow-down"></i>
</button>
<p>icon-arrow-down</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-arrow-left"></i>
</button>
<p>icon-arrow-left</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-upward"></i>
</button>
<p>icon-upward</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-forward"></i>
</button>
<p>icon-forward</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-downward"></i>
</button>
<p>icon-downward</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-back"></i>
</button>
<p>icon-back</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-caret"></i>
</button>
<p>icon-caret</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-menu"></i>
</button>
<p>icon-menu</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-apps"></i>
</button>
<p>icon-apps</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-more-horiz"></i>
</button>
<p>icon-more-horiz</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-more-vert"></i>
</button>
<p>icon-more-vert</p>
</div>
</div>
<h4 id="icons-action" class="s-subtitle">Action icons</h4>
<div class="columns">
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-resize-horiz"></i>
</button>
<p>icon-resize-horiz</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-resize-vert"></i>
</button>
<p>icon-resize-vert</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-plus"></i>
</button>
<p>icon-plus</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-minus"></i>
</button>
<p>icon-minus</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-cross"></i>
</button>
<p>icon-cross</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-check"></i>
</button>
<p>icon-check</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-stop"></i>
</button>
<p>icon-stop</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-shutdown"></i>
</button>
<p>icon-shutdown</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-refresh"></i>
</button>
<p>icon-refresh</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-search"></i>
</button>
<p>icon-search</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-flag"></i>
</button>
<p>icon-flag</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-bookmark"></i>
</button>
<p>icon-bookmark</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-edit"></i>
</button>
<p>icon-edit</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-delete"></i>
</button>
<p>icon-delete</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-share"></i>
</button>
<p>icon-share</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-download"></i>
</button>
<p>icon-download</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-upload"></i>
</button>
<p>icon-upload</p>
</div>
</div>
<h4 id="icons-object" class="s-subtitle">Object icons</h4>
<div class="columns">
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-mail"></i>
</button>
<p>icon-mail</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-people"></i>
</button>
<p>icon-people</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-message"></i>
</button>
<p>icon-message</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-photo"></i>
</button>
<p>icon-photo</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-time"></i>
</button>
<p>icon-time</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-location"></i>
</button>
<p>icon-location</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-link"></i>
</button>
<p>icon-link</p>
</div>
<div class="column col-3 col-md-6">
<button class="btn btn-primary btn-action btn-lg">
<i class="icon icon-emoji"></i>
</button>
<p>icon-emoji</p>
</div>
</div>
<!-- icons -->
<pre class="code" data-lang="HTML"><code><<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"icon icon-menu"</span>><<span class="tag">/i</span>>
</code></pre>
<h4 id="icons-sizes" class="s-subtitle">Icon sizes</h4>
<div class="docs-note">
<p>Use <code>icon-2x</code>, <code>icon-3x</code> and <code>icon-4x</code> classes to increase icon sizes. You can set <code>font-size</code> to have different icon sizes.</p>
</div>
<div class="columns">
<div class="column col-3 col-md-6">
<p><i class="icon icon-2x icon-mail"></i></p>
<p>icon-2x (32px)</p>
</div>
<div class="column col-3 col-md-6">
<p><i class="icon icon-3x icon-mail"></i></p>
<p>icon-3x (48px)</p>
</div>
<div class="column col-3 col-md-6">
<p><i class="icon icon-4x icon-mail"></i></p>
<p>icon-4x (64px)</p>
</div>
</div>
<!-- icons -->
<pre class="code" data-lang="HTML"><code><<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"icon icon-2x icon-mail"</span>><<span class="tag">/i</span>>
</code></pre>
</div>
<div id="labels" class="container">
<h3 class="s-title"><a href="#labels" class="anchor" aria-hidden="true">#</a>Labels</h3>
<div class="docs-note">
<p>Labels are formatted text tags for highlighted, informative information.</p>
</div>
<div class="columns">
<div class="column">
<span class="label">default label</span>
<span class="label label-primary">primary label</span>
<span class="label label-secondary">secondary label</span>
<span class="label label-success">success label</span>
<span class="label label-warning">warning label</span>
<span class="label label-error">error label</span>
</div>
</div>
<div class="docs-note">
<p>Add the <code>label</code> class to <span> or <small> elements. You can add another class <code>label-primary</code>, <code>label-secondary</code>, <code>label-success</code>, <code>label-warning</code> and <code>label-error</code> for colored labels.</p>
</div>
<div class="columns">
<div class="column">
<span class="label label-rounded">default label</span>
<span class="label label-rounded label-primary">primary label</span>
<span class="label label-rounded label-secondary">secondary label</span>
<span class="label label-rounded label-success">success label</span>
<span class="label label-rounded label-warning">warning label</span>
<span class="label label-rounded label-error">error label</span>
</div>
</div>
<div class="docs-note">
<p>Add the <code>label-rounded</code> class to have rounded labels.</p>
</div>
<!-- labels -->
<pre class="code" data-lang="HTML"><code><<span class="tag">span</span> <span class="atn">class</span>=<span class="atv">"label"</span>>default label<<span class="tag">/span</span>>
<<span class="tag">span</span> <span class="atn">class</span>=<span class="atv">"label label-primary"</span>>primary label<<span class="tag">/span</span>>
</code></pre>
</div>
<div id="codes" class="container">
<h3 class="s-title"><a href="#codes" class="anchor" aria-hidden="true">#</a>Codes</h3>
<div class="docs-note">
<p>Codes are inline and multiline code snippets.</p>
<p>For inline code, you can use the element <code><code></code>. For multiline code snippet blocks, you can use <pre> with the <code>code</code> class as a container, and add <code> inside it. The <code>data-lang</code> attribute is rendered as the language name in the top right.</p>
</div>
<pre class="code" data-lang="HTML"><code><span class="com"><!-- code snippets --></span>
<<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn"</span>>
Submit
<<span class="tag">/button</span>>
</code></pre>
<!-- codes -->
<pre class="code" data-lang="HTML"><code><<span class="tag">pre</span> <span class="atn">class</span>=<span class="atv">"code"</span> <span class="atn">data-lang</span>=<span class="atv">"HTML"</span>><<span class="tag">code</span>><<span class="tag">span</span> <span class="atn">class</span>=<span class="atv">"com"</span>>&lt;!-- code snippets --&gt;<<span class="tag">/span</span>>
&lt;<<span class="tag">span</span> <span class="atn">class</span>=<span class="atv">"tag"</span>>button<<span class="tag">/span</span>> <<span class="tag">span</span> <span class="atn">class</span>=<span class="atv">"atn"</span>>class<<span class="tag">/span</span>>=<<span class="tag">span</span> <span class="atn">class</span>=<span class="atv">"atv"</span>>&quot;btn&quot;<<span class="tag">/span</span>>&gt;
Submit
&lt;<<span class="tag">span</span> <span class="atn">class</span>=<span class="atv">"tag"</span>>/button<<span class="tag">/span</span>>&gt;
<<span class="tag">/code</span>><<span class="tag">/pre</span>>
</code></pre>
</div>
<div id="media" class="container">
<h3 class="s-title"><a href="#media" class="anchor" aria-hidden="true">#</a>Media</h3>
<div class="docs-note">
<p>Media includes responsive images, figures and video classes. </p>
</div>
<h4 id="media-images" class="s-subtitle">Images</h4>
<div class="docs-note">
<p>Add the <code>img-responsive</code> class to <img> elements. The images will scale with the parent sizes.</p>
</div>
<div class="columns">
<div class="column col-12">
<img src="img/osx-el-capitan.jpg" class="img-responsive rounded" alt="macOS El Capitan Wallpaper">
</div>
</div>
<div class="docs-note">
<p>Add the <code>img-fit-contain</code> or <code>img-fit-cover</code> class to <img> or <video> elements. The media will crop itself to fit inside the element (and you don't need another container). This feature can replace the background image trick. Microsoft Edge support is <a href="https://developer.microsoft.com/en-us/microsoft-edge/platform/status/objectfitandobjectposition/" target="_blank">in preview</a>.</p>
</div>
<div class="columns">
<div class="column col-6 col-xs-12">
<figure class="figure">
<img src="img/osx-yosemite.jpg" class="img-fit-contain rounded" alt="macOS Yosemite Wallpaper" style="background: #f8f9fa; height: 10rem; width: 100%;">
<figcaption class="figure-caption text-center">img-fit-contain</figcaption>
</figure>
</div>
<div class="column col-6 col-xs-12">
<figure class="figure">
<img src="img/osx-yosemite-2.jpg" class="img-fit-cover rounded" alt="macOS Yosemite Wallpaper" style="background: #f8f9fa; height: 10rem; width: 100%;">
<figcaption class="figure-caption text-center">img-fit-cover</figcaption>
</figure>
</div>
</div>
<pre class="code" data-lang="HTML"><code><<span class="tag">img</span> <span class="atn">src</span>=<span class="atv">"img/osx-el-capitan.jpg"</span> <span class="atn">class</span>=<span class="atv">"img-responsive ..."</span> <span class="atn">alt</span>=<span class="atv">"..."</span>>
<<span class="tag">img</span> <span class="atn">src</span>=<span class="atv">"img/osx-el-capitan.jpg"</span> <span class="atn">class</span>=<span class="atv">"img-fit-contain ..."</span> <span class="atn">alt</span>=<span class="atv">"..."</span>>
<<span class="tag">img</span> <span class="atn">src</span>=<span class="atv">"img/osx-el-capitan.jpg"</span> <span class="atn">class</span>=<span class="atv">"img-fit-cover ..."</span> <span class="atn">alt</span>=<span class="atv">"..."</span>>
</code></pre>
<div class="docs-note">
<p>You can use the element <figure> for an image with a caption. Add the <code>figure</code> class to <figure> element. The images with the <code>img-responsive</code> class will be responsive. And the included class <code>figure-caption</code> will provide basic style for caption. Also, you can use <code>text-left</code>, <code>text-center</code> and <code>text-right</code> for caption alignment. </p>
</div>
<div class="columns">
<div class="column col-12">
<figure class="figure">
<img src="img/osx-yosemite-2.jpg" class="img-responsive rounded" alt="macOS Yosemite Wallpaper">
<figcaption class="figure-caption text-center">macOS Yosemite wallpaper</figcaption>
</figure>
</div>
</div>
<pre class="code" data-lang="HTML"><code><<span class="tag">figure</span> <span class="atn">class</span>=<span class="atv">"figure"</span>>
<<span class="tag">img</span> <span class="atn">src</span>=<span class="atv">"img/osx-yosemite-2.jpg"</span> <span class="atn">class</span>=<span class="atv">"img-responsive ..."</span> <span class="atn">alt</span>=<span class="atv">"..."</span>>
<<span class="tag">figcaption</span> <span class="atn">class</span>=<span class="atv">"figure-caption text-center"</span>>macOS Yosemite wallpaper<<span class="tag">/figcaption</span>>
<<span class="tag">/figure</span>>
</code></pre>
<h4 id="media-video" class="s-subtitle">Video</h4>
<div class="docs-note">
<p>For responsive video, add a container with the <code>video-responsive</code> class. Insert any YouTube, Youku or other iframe/embed video inside the container. The ratio is 16:9 by default. You may add <code>video-responsive-4-3</code> for 4:3 ratio video container or <code>video-responsive-1-1</code> for 1:1 ratio.</p>
</div>
<div class="columns">
<div class="column col-12">
<div class="video-responsive">
<iframe width="560" height="315" src="https://www.youtube.com/embed/BzMLA8YIgG0" allowfullscreen></iframe>
</div>
</div>
</div>
<div class="docs-note">
<p>For responsive <code>video</code> elements, you can add the <code>video-responsive</code> class directly to the <code>video</code>.</p>
</div>
<!-- media -->
<pre class="code" data-lang="HTML"><code><<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"video-responsive video-responsive-4-3"</span>>
<<span class="tag">iframe</span> <span class="atn">src</span>=<span class="atv">"..."</span> <span class="atn">width</span>=<span class="atv">"..."</span> <span class="atn">height</span>=<span class="atv">"..."</span> <span class="atn">frameborder</span>=<span class="atv">"0"</span> <span class="atn">allowfullscreen</span>><<span class="tag">/iframe</span>>
<<span class="tag">/div</span>>
<<span class="tag">video</span> <span class="atn">class</span>=<span class="atv">"video-responsive"</span> <span class="atn">src</span>=<span class="atv">"..."</span>>...<<span class="tag">/video</span>>
</code></pre>
</div>
<footer class="docs-footer">
<p><a href="https://github.com/picturepan2/spectre" target="_blank">GitHub</a> | <a href="https://twitter.com/spectrecss" target="_blank">Twitter</a> | <a href="https://www.paypal.me/picturepan2" target="_blank">PayPal Donate</a> | Version <span class="version"></span></p>
<p>Designed and built with <span class="text-error">♥</span> by <a href="https://twitter.com/picturepan2" target="_blank">Yan Zhu</a>. Licensed under the <a href="https://github.com/picturepan2/spectre/blob/master/LICENSE" target="_blank">MIT License</a>.</p>
</footer>
</div>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-2702768-8', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>
|