-
Notifications
You must be signed in to change notification settings - Fork 88
/
index.html
1335 lines (1309 loc) · 70.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>
TACHYONS - Css Toolkit
</title>
<meta name="description" content="Build beautiful, responsive, readable interfaces.">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="author" content="@mrmrs">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://unpkg.com/tachyons/css/tachyons.min.css">
<style>
.blue { color: #0074D9; }
.bg-blue { background-color: #0074D9; }
.carbon-poweredby { width: 100%; font-size: 12px; float: left; }
.carbon-wrap { float: left; width: 100%; box-sizing: border-box; }
.carbon-img { float: left; width: 50%; box-sizing: border-box; }
.carbon-text { float: left; width: 50%; padding-left: 16px; box-sizing: border-box; font-size: 12px; }
#carbonads a:link { text-decoration: none!important; color: #222!important; }
</style>
<link rel="alternate" type="application/rss+xml" title="RSS Feed for Tachyons Recent Components" href="/components/rss.xml" />
</head>
<body class="w-100 sans-serif">
<header class="w-100 pa3 ph5-ns bg-white">
<div class="flex flex-wrap flex-nowrap-ns items-center mw9 center w-100">
<div class="flex items-center w-100 w-50-ns mb2 mb0-ns">
<a href="/" class="nowrap dib f5 f4-ns fw6 mt0 mb1 link black-90" title="Home">
Tachyons
<div class="dib">
<small class="nowrap f7 mt2 mt3-ns pr2 black-70">v4.12.0</small>
</div>
</a>
<div class='ml-auto dn inline-flex-l' style='height:20px'>
<iframe src="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="24px"></iframe>
</div>
<a href="https://twitter.com/intent/tweet?text=Tachyons: A functional css toolkit for designing in the browser.&url=http://tachyons.io" class="twitter nowrap bg-white-50 dim link flex-nowrap dn inline-flex-l items-center br2 ph2 pv1 lh-solid" style="background-color: #55acee;">
<svg class="geomicon dib v-mid" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="12" height="12" fill="#fff">
<path d="M2 4 C6 8 10 12 15 11 A6 6 0 0 1 22 4 A6 6 0 0 1 26 6 A8 8 0 0 0 31 4 A8 8 0 0 1 28 8 A8 8 0 0 0 32 7 A8 8 0 0 1 28 11 A18 18 0 0 1 10 30 A18 18 0 0 1 0 27 A12 12 0 0 0 8 24 A8 8 0 0 1 3 20 A8 8 0 0 0 6 19.5 A8 8 0 0 1 0 12 A8 8 0 0 0 3 13 A8 8 0 0 1 2 4"/>
</svg>
<span class="white fw6" style="font-size: 12px;">Tweet</span>
</a>
</div>
<nav class="flex w-100 w-50-ns justify-start justify-end-ns">
<a title="Documentation" href="/docs/"
class="f6 fw6 hover-blue link black-70 mr2 mr3-m mr4-l dib">
Docs
</a>
<a title="Components" href="/components/"
class="f6 fw6 hover-blue link black-70 mr2 mr3-m mr4-l dib">
Components
</a>
<a title="Gallery of sites built with Tachyons" href="/gallery/"
class="f6 fw6 hover-blue link black-70 mr2 mr3-m mr4-l dib">
Gallery
</a>
<a title="Resources" href="/resources/"
class="f6 fw6 hover-blue link black-70 mr2 mr3-m mr4-l dib">
Resources
</a>
<a title="Tachyons on GitHub" href="http://github.com/tachyons-css/tachyons/"
class="f6 fw6 hover-blue link black-70 mr2 mr3-m mr4-l dn dib-l">
GitHub
</a>
</nav>
</div>
</header>
<main class="w-100 bt b--black-10 bg-white">
<section class="bg-black-0125 w-100">
<article class="pb4">
<header class="ph3 ph5-ns w-100 bg-transparent pv3 bb b--black-10 overflow-auto">
<div class="nowrap mw9 center">
<a title="Getting Started" href="#getting-started"
class="pv1-ns f6 fw6 dim link black-70 mr2 mr3-m mr4-l dib">
Getting Started
</a>
<a title="Principles" href="#principles"
class="pv1-ns f6 fw6 dim link black-70 mr1 mr3-m mr4-l dib">
Principles
</a>
<a title="Features" href="#features"
class="pv1-ns f6 fw6 dim link black-70 mr1 mr3-m mr4-l dib">
Features
</a>
<a title="Style Guide" href="#style"
class="pv1-ns f6 fw6 dim link black-70 mr1 mr3-m mr4-l dib">
Style Guide
</a>
<a title="Testimonials" href="#testimonials"
class="pv1-ns f6 fw6 dim link black-70 mr1 mr3-m mr4-l dib">
Testimonials
</a>
</div>
</header>
<div class="ph3 ph5-ns pt4">
<div class='dn dn-l flex-m mb3'>
<iframe src="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20"></iframe>
<a href="https://twitter.com/intent/tweet?text=Tachyons: A functional css toolkit for designing in the browser.&url=http://tachyons.io" class="twitter bg-white-50 dim link inline-flex items-center br2 ph2 lh-solid" style="background-color: #55acee;">
<svg class="geomicon mr1 v-mid" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="12" height="12" fill="#fff">
<path d="M2 4 C6 8 10 12 15 11 A6 6 0 0 1 22 4 A6 6 0 0 1 26 6 A8 8 0 0 0 31 4 A8 8 0 0 1 28 8 A8 8 0 0 0 32 7 A8 8 0 0 1 28 11 A18 18 0 0 1 10 30 A18 18 0 0 1 0 27 A12 12 0 0 0 8 24 A8 8 0 0 1 3 20 A8 8 0 0 0 6 19.5 A8 8 0 0 1 0 12 A8 8 0 0 0 3 13 A8 8 0 0 1 2 4"/>
</svg>
<span class="dib v-mid white fw6" style="font-size: 12px;">Tweet</span>
</a>
</div>
<section class='mw9 pv4-l center flex flex-wrap items-center-ns'>
<div class="black-70 w-100 w-50-l">
<h1 class="f4 fw6 f1-ns lh-title measure mt0 mb2">
Built for designing.
</h1>
<p class="f5 f4-ns measure dib-m lh-copy mt0">
Create fast loading, highly readable, and
100% responsive interfaces with as little css as possible.
</p>
<p class="measure f5 f4-ns lh-copy dn">
Modules can be altered, extended, or changed to meet your design needs.
You shouldn’t need to write css everytime you want to build a new
ui component. By learning the composable building blocks in tachyons, you
can quickly start to build out interfaces while writing little to no css.
</p>
</div>
<div class="w-100 w-50-l tl">
<h4 class="tl">Downloads</h4>
<p class="mt0 mb1 black-60 monospace f6">Css</p>
<a
class="f6 fw6 dib ba mb3 b--black-20 bg-blue white ph3 ph4-ns pv2 pv3-ns br2 grow no-underline"
href="https://raw.githubusercontent.com/tachyons-css/tachyons/master/css/tachyons.min.css">
<span class='dib pr2'>Minified</span> <code class="f7 fw4 di">v4.12.0</code>
</a>
<a
class="f6 fw6 dib ba mb3 b--black-20 bg-blue white ph3 ph4-ns pv2 pv3-ns br2 grow no-underline"
href="https://raw.githubusercontent.com/tachyons-css/tachyons/master/css/tachyons.min.css">
<span class='dib pr2'>Build</span> <code class="f7 fw4 di">v4.12.0</code>
</a>
<br />
<p class="mt0 mb1 black-60 monospace f6">Css in Js</p>
<a
class="f6 fw6 dib ba b--black-20 bg-blue white ph3 ph4-ns pv2 pv3-ns br2 grow no-underline"
href="https://github.com/tachyons-css/tachyons-styled-react/archive/master.zip">
<span class='dib pr2'>Styled System</span> <code class="f7 fw4 di">v0.2.0</code>
</a>
<a
class="f6 fw6 dib ba b--black-20 bg-blue white ph3 ph4-ns pv2 pv3-ns br2 grow no-underline"
href="https://github.com/tachyons-css/tachyons-theme-ui/archive/master.zip">
<span class='dib pr2'>Theme UI</span> <code class="f7 fw4 di">v0.1.0</code>
</a>
</div>
</section>
</div>
</article>
<article class=" bg-black white ph3 ph5-ns pv4 pv5-ns" id="getting-started">
<div class="mw9 center">
<h1 class="mt0 f5 f3-ns">Getting Started</h1>
<p class="f5 measure lh-copy">
Copy the line of code below and paste it in the head of the html file(s) you want to include tachyons in.
</p>
<pre class="pre black-70" style="overflow: auto"><code class="code f6 dib pa2 bg-white-20 washed-green" style="font-size: 14px;"><link rel="stylesheet" href="https://unpkg.com/[email protected]/css/tachyons.min.css"/></code></pre>
<p class="mt4"><b>or</b> install via npm</p>
<pre class="pre black-70" style="overflow: auto"><code class="code f6 dib pa2 bg-white-20 washed-green" style="font-size: 14px;">npm install [email protected]</code></pre>
<p class="mt4"><b>or</b> grab all the source files and build+develop locally</p>
<pre class="pre" style="overflow: auto"><code class="code f6 dib pa2 bg-white-20 washed-green" style="font-size: 14px;">git clone [email protected]:tachyons-css/tachyons.git
cd tachyons
rm -rf .git && git init
npm install && npm start
</code></pre>
<h3 class="f5 f3-ns mt4 fw6">Prototyping template</h3>
<p class="lh-copy measure f6">
This template is always linked to the most up to date version of Tachyons.
Save this file to your computer to start prototyping right away without worrying
about setting up a dev environment. You can open the file in a web browser and view
your changes.
</p>
<div class="overflow-auto">
<code class="pre f6">
<!DOCTYPE html>
<html lang="en">
<title> </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://unpkg.com/tachyons/css/tachyons.min.css">
<body>
</body>
</html>
</code>
</div>
<section class="bt b--black-10 pv5 mt5 cf">
<div class="fl-l w-100 w-50-l pr4-ns">
<h3 class="f5 f3-ns mt0">Start a New Project</h3>
<p class="f6 f5-ns measure lh-copy mb4 mt0">
Get setup and running with this ~7 minute screencast. Download the
project and learn how to customize the tachyons source files and
recompile the css using the postcss build system.
</p>
</div>
<div class="fl-l w-100 w-50-l">
<div class="aspect-ratio aspect-ratio--8x5">
<iframe class="aspect-ratio--object" src="https://player.vimeo.com/video/174698456" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
</div>
</section>
</div>
</article>
<article class=" bg-white black ph3 ph5-ns pv4 pv5-ns">
<div class="mw9 center flex flex-wrap flex-nowrap-l">
<div class='w-100 w-50-l'>
<h1 class="mt0 f5 f3-ns">Customizing</h1>
<p class="f5 measure lh-copy">
Tachyons has several methods and workflows for customization:
<br />
<br />
<a href='https://github.com/tachyons-css/generator'>We offer an API </a>you can post a config to get a custom css build with generated documentation.
<br />
<br />
If you prefer Css Variables check out
<a href='https://github.com/tachyons-css/tachyons-custom'>
Tachyons-custom.
</a>
<br />
<br />
Both <a href='https://github.com/tachyons-css/tachyons-theme-ui'>Theme-ui</a> and <a href='https://github.com/tachyons-css/tachyons-styled-react'>Styled-system implementations are easy to customize in theme.js</a>
We've built a GUI for generating and customizing Tachyons builds over at <a href='https://components.ai/tachyons-theme'>Components AI</a> that will output css-in-js and css variable configs you can copy paste into your projects.
</p>
</div>
<div class='w-100 w-50-l'>
<img class='db w-100' src="https://github.com/mrmrs/photos/blob/gh-pages/tachyons/tachyons-theme.jpg?raw=true" />
</div>
</div>
</article>
<div class="tl bt b--black-10 pa3 pa5-ns bg-lightest-blue navy" id="principles">
<div class="mw9 center">
<h1 class="f5 ttu tracked fw6">Principles</h1>
<section class="lh-copy">
<div class="cf">
<article class="fl pv2 w-100 w-third-l pr4-l">
<h2 class="f5 f4-ns fw6 mb0">Responsive</h2>
<p class="f6 f5-ns measure lh-copy mt0">
Everything should be 100% responsive. Your website should work regardless of a user’s
device or screensize.
</p>
</article>
<article class="pv2 fl w-100 w-third-l ph3-l">
<h2 class="f5 f4-ns fw6 mb0">Readable</h2>
<p class="f6 f5-ns measure lh-copy mt0">
No matter the lighting, or the device, font-sizes should be
large enough and contrast should be high enough for your
users to easily read your content.
</p>
</article>
<article class="pv2 fl w-100 w-third-l pl4-l">
<h2 class="f5 f4-ns fw6 mb0">
Modular
</h2>
<p class="f6 f5-ns measure lh-copy mt0">
Tachyons isn’t just a monolithic framework. It’s a collection of small modules
that can be mixed and matched or used independently. Use what you need. Leave the rest.
</p>
</article>
</div>
<div class="cf w-100">
<article class="pv2 fl w-100 w-third-l pl0 pr4-l">
<h2 class="f5 f4-ns fw6 mb0">Accessible</h2>
<p class="f6 f5-ns measure lh-copy mt0">
Accessibility is important to us. Throughout both the css
and the documentation we provide numerous tools and methods for making it
easier to maximize the accessibility of your site.
</p>
</article>
<article class="pv2 fl w-100 w-third-l ph3-l">
<h2 class="f5 f4-ns fw6 mb0">Performant</h2>
<p class="f6 f5-ns measure lh-copy mt0">
Code should be optimized for performance.
</p>
</article>
<article class="pv2 fl w-100 w-third-l pl4-l">
<h2 class="f5 f4-ns fw6 mb0">
Reusable
</h2>
<p class="f6 f5-ns measure lh-copy mt0">
Clear documentation helps create a shared understanding of design patterns amongst your team.
This helps promote reuse and reduces the amount of redundancy in a codebase.
</p>
</article>
</div>
</section>
</div>
</div>
<section class="cf ph3 ph5-ns pb5 bg-yellow black-70" id="features">
<div class="mw9 center">
<h1 class="fl w-100 mt5 f5 ttu tracked fw6">Features</h1>
<article class="pv2 fl w-100 ">
<h2 class="f4 f1-ns fw6 mb2">Open source component library</h2>
<p class="f5 f4-ns measure lh-copy mt0">
There is a <a href="/components/" class="black dim"title="Tachyons components">growing library of open source components</a> written in static html that are easy
to use as is, customize with your own theme, or port to a templating language.
</p>
</article>
<div class="cf">
<article class="pv2 fl w-100 w-50-l pr0 pr2-l">
<h2 class="f4 f2-ns fw6 mb2">Lightweight</h2>
<p class="f5 measure lh-copy mt0">
The entire library is fewer than 14kb when minified and
gzipped. If you want to get even smaller, it’s easy to strip out what you don’t
need.
</p>
</article>
<article class="pv2 fl w-100 w-50-l pl0 pl2-l">
<h2 class="f4 f2-ns fw6 mb2">Documentation</h2>
<p class="f5 measure lh-copy mt0">
Each module is carefully documented. From stats about the size of the module,
to how each css class will render to the screen.
</p>
</article>
</div>
<div class="cf">
<article class="pv2 fl w-100 w-50-l pr0 pr2-l">
<h2 class="f4 f2-ns fw6 mb2">Functional</h2>
<p class="f5 measure lh-copy mt0">
It’s easy to build components with Tachyons so
it works well with Rails, React, Ember, Elm, Angular, Static html,
and more.
</p>
</article>
<article class="pv2 fl w-100 w-50-l pl0 pl2-l">
<h2 class="f4 f2-ns fw6 mb2">Multiple Flavors</h2>
<p class="f5 measure lh-copy mt0">
Don’t like the class names? We’ve got <a class="black dim" href="https://github.com/tachyons-css/tachyons-verbose">a more verbose version you might like</a>.
Want to use Sass instead of Postcss? <a class="black dim" href="http://github.com/tachyons-css/tachyons-sass">We‘ve got a repo for that too :)</a> Tachyons isn’t just a css toolkit. It’s a design system. Utilized here in a <a class="black dim" href="https://github.com/tachyons-css/react-native-style-tachyons">react native boilerplate.</a>
</p>
</article>
</div>
<div class="cf">
<article class="pv2 fl w-100 w-50-l pr0 pr2-l">
<h2 class="f4 f2-ns fw6 mb2">Shallow Cascade</h2>
<p class="f5 measure lh-copy mt0">
Don’t let the cascade slow you down. When you apply a class
to an element, there is nothing in the cascade to override
its effects. You get rapid feedback on how your css is
affecting your markup without wasting time debugging why your
styles are being overridden.
</p>
</article>
<article class="pv2 fl w-100 w-50-l pl0 pl2-l">
<h2 class="f4 f2-ns fw6 mb2">Low Specificity</h2>
<p class="f5 measure lh-copy mt0">
The majority of Tachyons selectors have a specificity of
10. Tachyons won’t override your existing styles. So feel
free to lay it on top of your existing css.
</p>
</article>
</div>
<div class="cf">
<article class="pv2 fl w-100 w-50-l pr0 pr2-l">
<h2 class="f4 f2-ns fw6 mb2">Accessible Color Palette</h2>
<p class="f5 measure lh-copy mt0">
Over 480 accessible color combinations.
</p>
</article>
<article class="pv2 fl w-100 w-50-l pl0 pl2-l">
<h2 class="f4 f2-ns fw6 mb2">Mobile-first architecture </h2>
<p class="f5 measure lh-copy mt0">
Base classes are mobile by default. Can be overridden by
namespaced classes targeting larger breakpoints.
</p>
</article>
</div>
<div class="cf">
<article class="pv2 fl w-100 w-50-l pr0 prl-ns">
<h2 class="f4 f2-ns fw6 mb2">
Layout debugging
</h2>
<p class="f5 measure lh-copy mt0">
Small css modules for debugging stacking and layout issues.
Can easily be turned on or off during development.
</p>
</article>
<article class="pv2 fl w-100 w-50-l pl0 pl2-l">
<h2 class="f4 f2-ns fw6 mb2">
Composable classes
</h2>
<p class="f5 measure lh-copy mt0">
Construct anything from complex layouts to responsive components with a series of
single purpose classes.
</p>
</article>
</div>
<div class="cf">
<article class="pv2 fl w-100 w-50-l pr0 pr2-l">
<h2 class="f4 f2-ns fw6 mb2">Cohesive design system</h2>
<p class="f5 measure lh-copy mt0">
Scale based on the powers of two. Starting at .25
</p>
</article>
<article class="pv2 fl w-100 w-50-l pl0 pl2-l">
<h2 class="f4 f2-ns fw6 mb2">Responsive Grid</h2>
<p class="f5 measure lh-copy mt0">
Infinitely nestable. Fully fluid. Extremely light-weight.
</p>
</article>
</div>
<div class="cf">
<article class="pv2 fl w-100 w-50-l pr0 pr2-l">
<h2 class="f4 f2-ns fw6 mb2">
Runs on <a href="https://github.com/postcss/postcss" class="link dim near-black">Postcss</a>
</h2>
<p class="mv0 f5 lh-copy measure">
A flexible plugin framework for post-processing css.
<a href="https://github.com/postcss/postcss" class="
dim f6 db black">View on GitHub</a>
</p>
</article>
<article class="pv2 fl w-100 w-50-l pl0 pl2-l">
<h2 class="f4 f2-ns fw6 mb2">
Easy to Customize and extend
</h2>
<p class="f5 measure lh-copy mt0">
Tachyons is meant to be edited and customized to meet the
needs of your project. It’s just css. It isn’t precious.
Don’t be afraid to change: class names, media queries,
breakpoints, or values.
</p>
</article>
</div>
</div>
</section>
</div>
</section>
<section class="tc pv5 bb bt b--black-10 bg-washed-blue">
<div class="ph3 ph5-ns">
<h3 class="f5 fw6 ttu tracked black-70 mb4">Start using Tachyons</h3>
<a class="no-underline grow pa3 br2 bg-blue white mr3 mb3 dib" href="/docs/">Read the Docs</a>
<a class="no-underline grow pa3 br2 bg-blue white mr3 mb3 dib" href="/components/">View Component Library</a>
<a class="no-underline grow pa3 br2 bg-blue white mr3 dib" href="http://unpkg.com/tachyons/css/tachyons.min.css">Download the Code</a>
</div>
</section>
<section>
<div class="ph3 ph5-ns pt5" id="style">
<div class="mw9 center overflow-auto">
<h3 class="f5 fw6 ttu tracked">Style Guide</h3>
<p class="lh-copy measure">
This is a quick introduction to some of the building blocks that Tachyons makes available. For a more in-depth look at design principles and how each module works, be sure to check out the <a class="link blue underline hover-navy" href="/docs" title="Tachyons docs">docs</a>
</p>
<h3 class="f6 ttu fw6 mb0 mt5 bb pb2">Typography</h3>
<article class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid overflow-auto">
<h1 class="f1 lh-title">Level 1 Heading</h1>
<h2 class="f2 lh-title">Level 2 Heading</h2>
<h3 class="f3 lh-title">Level 3 Heading</h3>
<h4 class="f4 lh-title">Level 4 Heading</h4>
<h5 class="f5 lh-title">Level 5 Heading</h5>
<h6 class="f6 lh-title">Level 6 Heading</h6>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.f1 { font-size: 3rem; }
.f2 { font-size: 2.25rem; }
.f3 { font-size: 1.5rem; }
.f4 { font-size: 1.25rem; }
.f5 { font-size: 1rem; }
.f6 { font-size: .875rem; }
</code>
</pre>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Type Styles</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc v-mid">
<p class="i">Italicize: to write or print (text) in italics.</p>
<p class="b">Some text that needs to be super bold.</p>
<p class="underline">This text wants to be underlined.</p>
<p class="strike">This text should be crossed out.</p>
<p class="ttc">This text should be capitalized.</p>
<p class="ttu">This text should be uppercase.</p>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.i { font-style: italic; }
.b { font-weight: bold; }
.underline { text-decoration: underline; }
.strike { text-decoration: line-through; }
.ttc { text-transform: capitalize; }
.ttu { text-transform: uppercase; }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Typefaces</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc v-mid">
<h4 class="f6 mb0 mt3">system serif</h4>
<p class="serif">a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<h4 class="f6 mb0 mt3">Athelas</h4>
<p class="athelas"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="athelas ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<h4 class="f6 mb0 mt3">georgia</h4>
<p class="georgia"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="georgia ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<h4 class="f6 mb0 mt3">garamond</h4>
<p class="garamond"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="garamond ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<h4 class="f6 mb0 mt3">baskerville</h4>
<p class="baskerville"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="baskerville ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<h4 class="f6 mb0 mt3">calisto</h4>
<p class="calisto"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="calisto ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<h4 class="f6 mb0 mt3">system sans-serif</h4>
<p class="sans-serif"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="sans-serif ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<h4 class="f6 mb0 mt3">Helvetica</h4>
<p class="helvetica"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="helvetica ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<h4 class="f6 mb0 mt3">Avenir Next</h4>
<p class="avenir"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="avenir ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<h4 class="f6 mb0 mt3">Code</h4>
<p class="code"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="code ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<h4 class="f6 mb0 mt3">Courier</h4>
<p class="code"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="code ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.sans-serif {
font-family: -apple-system, BlinkMacSystemFont,
'avenir next', avenir,
helvetica, 'helvetica neue',
ubuntu,
roboto, noto,
'segoe ui', arial,
sans-serif;
}
.serif { font-family: georgia, times, serif; }
.code { font-family: Consolas, monaco, monospace; }
.courier { font-family: 'Courier Next', courier, monospace; }
.helvetica { font-family: 'helvetica neue', helvetica, sans-serif; }
.avenir { font-family: 'avenir next', avenir, sans-serif; }
.athelas { font-family: athelas, georgia, serif; }
.georgia { font-family: georgia, serif; }
.times { font-family: times, serif; }
.bodoni { font-family: "Bodoni MT", serif; }
.calisto { font-family: "Calisto MT", serif; }
.garamond { font-family: garamond, serif; }
.baskerville { font-family: baskerville, serif; }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Measure</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc v-mid f6">
<h4 class="mt4 fw6 f6">Wide Measure</h4>
<p class="measure-wide lh-copy">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
sanctus est Lorem ipsum dolor sit amet.
</p>
<h4 class="mt4 fw6 f6">Measure</h4>
<p class="measure lh-copy">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
sanctus est Lorem ipsum dolor sit amet.
</p>
<h4 class="mt4 fw6 f6">Narrow Measure</h4>
<p class="measure-narrow lh-copy">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
sanctus est Lorem ipsum dolor sit amet.
</p>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.measure-wide { max-width: 34em; }
.measure { max-width: 30em; }
.measure-narrow { max-width: 20em; }
</code>
</pre>
</div>
</div>
</article>
</div>
</div>
<article class="mt5 id="grids"">
<div class="ph3 ph5-ns">
<div class="mw9 center">
<h3 class="f6 ttu fw6 mt0 bb pb2">Grids</h3>
<p class="lh-copy measure">
Floats, widths, and padding can be combined to build a
wide variety of grids.
</p>
</div>
</div>
<section class="cf w-100 pv3 f6 ph3 ph4-ns">
<div class="mw9 center ph3-ns">
<div class="ph2-ns">
<div class="fl w-100 pa2">
<div class="outline bg-white tc pv4"><code>fl w-100</code></div>
</div>
<div class="fl w-90 pa2">
<div class="outline bg-white tc pv4"><code>fl w-90</code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4 truncate no-wrap"><code>fl w-10</code></div>
</div>
<div class="fl w-80 pa2">
<div class="outline bg-white tc pv4"><code>fl w-80</code></div>
</div>
<div class="fl w-20 pa2">
<div class="outline bg-white tc pv4 truncate no-wrap"><code>fl w-20</code></div>
</div>
<div class="fl w-75 pa2">
<div class="outline bg-white tc pv4"><code>fl w-75</code></div>
</div>
<div class="fl w-25 pa2">
<div class="outline bg-white tc pv4 truncate no-wrap"><code>fl w-25</code></div>
</div>
<div class="fl w-70 pa2">
<div class="outline bg-white tc pv4"><code>fl w-70</code></div>
</div>
<div class="fl w-30 pa2">
<div class="outline bg-white tc pv4 truncate no-wrap"><code>fl w-30</code></div>
</div>
<div class="fl w-60 pa2">
<div class="outline bg-white tc pv4"><code>fl w-60</code></div>
</div>
<div class="fl w-40 pa2">
<div class="outline bg-white tc pv4 truncate no-wrap"><code>fl w-40</code></div>
</div>
<div class="fl w-50 pa2">
<div class="outline bg-white tc pv4"><code>fl w-50</code></div>
</div>
<div class="fl w-50 pa2">
<div class="outline bg-white tc pv4"><code>fl w-50</code></div>
</div>
<div class="fl w-third pa2">
<div class="outline bg-white tc pv4"><code>fl w-third</code></div>
</div>
<div class="fl w-third pa2">
<div class="outline bg-white tc pv4"><code>fl w-third</code></div>
</div>
<div class="fl w-third pa2">
<div class="outline bg-white tc pv4"><code>fl w-third</code></div>
</div>
<div class="fl w-third pa2">
<div class="outline bg-white tc pv4 truncate w-100 no-wrap"><code>fl w-third</code></div>
</div>
<div class="fl w-two-thirds pa2">
<div class="outline bg-white tc pv4 truncate w-100 no-wrap"><code>fl w-two-thirds</code></div>
</div>
<div class="fl w-25 pa2">
<div class="outline bg-white tc pv4"><code>fl w-25</code></div>
</div>
<div class="fl w-25 pa2">
<div class="outline bg-white tc pv4"><code>fl w-25 </code></div>
</div>
<div class="fl w-25 pa2">
<div class="outline bg-white tc pv4"><code>fl w-25 </code></div>
</div>
<div class="fl w-25 pa2">
<div class="outline bg-white tc pv4"><code>fl w-25 </code></div>
</div>
<div class="fl w-20 pa2">
<div class="outline bg-white tc pv4"><code>fl w-20 </code></div>
</div>
<div class="fl w-20 pa2">
<div class="outline bg-white tc pv4"><code>fl w-20 </code></div>
</div>
<div class="fl w-20 pa2">
<div class="outline bg-white tc pv4"><code>fl w-20 </code></div>
</div>
<div class="fl w-20 pa2">
<div class="outline bg-white tc pv4"><code>fl w-20 </code></div>
</div>
<div class="fl w-20 pa2">
<div class="outline bg-white tc pv4"><code>fl w-20 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
</div>
</div>
</section>
</article>
<div class="ph3 ph5-ns pt5">
<div class="mw9 center overflow-auto">
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Colors</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid pr4-ns">
<table class="border-collapse w-100" cellspacing="0" cellpadding="0">
<tbody class="black-60 f6">
<tr><td class="bb b--black-05 bg-dark-red pa4"></td><td class="bb b--black-05 ph4 f4 b dark-red">Aa</td><td class="bb b--black-05">--dark-red: #e7040f;</td></tr>
<tr><td class="bb b--black-05 bg-red pa4 "></td><td class="bb b--black-05 ph4 f4 b red">Aa</td><td class="bb b--black-05">--red: #ff4136;</td></tr>
<tr><td class="bb b--black-05 bg-light-red pa4 "></td><td class="bb b--black-05 ph4 f4 b light-red">Aa</td><td class="bb b--black-05">--light-red: #ff725c;</td></tr>
<tr><td class="bb b--black-05 bg-orange pa4 "></td><td class="bb b--black-05 ph4 f4 b orange">Aa</td><td class="bb b--black-05">--orange: #ff6300;</td></tr>
<tr><td class="bb b--black-05 bg-gold pa4 "></td><td class="bb b--black-05 ph4 f4 b gold">Aa</td><td class="bb b--black-05">--gold: #ffb700;</td></tr>
<tr><td class="bb b--black-05 bg-yellow pa4 "></td><td class="bb b--black-05 ph4 f4 b yellow">Aa</td><td class="bb b--black-05">--yellow: #ffde37;</td></tr>
<tr><td class="bb b--black-05 bg-light-yellow pa4 "></td><td class="bb b--black-05 ph4 f4 b light-yellow">Aa</td><td class="bb b--black-05">--light-yellow: #fbf1a9;</td></tr>
<tr><td class="bb b--black-05 bg-purple pa4 "></td><td class="bb b--black-05 ph4 f4 b purple">Aa</td><td class="bb b--black-05">--purple: #5e2ca5;</td></tr>
<tr><td class="bb b--black-05 bg-light-purple pa4 "></td><td class="bb b--black-05 ph4 f4 b light-purple">Aa</td><td class="bb b--black-05">--light-purple: #a463f2;</td></tr>
<tr><td class="bb b--black-05 bg-dark-pink pa4 "></td><td class="bb b--black-05 ph4 f4 b dark-pink">Aa</td><td class="bb b--black-05">--dark-pink: #d5008f;</td></tr>
<tr><td class="bb b--black-05 bg-hot-pink pa4 "></td><td class="bb b--black-05 ph4 f4 b hot-pink">Aa</td><td class="bb b--black-05">--hot-pink: #ff41b4;</td></tr>
<tr><td class="bb b--black-05 bg-pink pa4 "></td><td class="bb b--black-05 ph4 f4 b pink">Aa</td><td class="bb b--black-05">--pink: #ff80cc;</td></tr>
<tr><td class="bb b--black-05 bg-light-pink pa4 "></td><td class="bb b--black-05 ph4 f4 b light-pink">Aa</td><td class="bb b--black-05">--light-pink: #ffa3d7;</td></tr>
<tr><td class="bb b--black-05 bg-dark-green pa4 "></td><td class="bb b--black-05 ph4 f4 b dark-green">Aa</td><td class="bb b--black-05">--dark-green: #137752;</td></tr>
<tr><td class="bb b--black-05 bg-green pa4 "></td><td class="bb b--black-05 ph4 f4 b green">Aa</td><td class="bb b--black-05">--green: #19a974;</td></tr>
<tr><td class="bb b--black-05 bg-light-green pa4 "></td><td class="bb b--black-05 ph4 f4 b light-green">Aa</td><td class="bb b--black-05">--light-green: #9eebcf;</td></tr>
<tr><td class="bb b--black-05 bg-navy pa4 "></td><td class="bb b--black-05 ph4 f4 b navy">Aa</td><td class="bb b--black-05">--navy: #001b44;</td></tr>
<tr><td class="bb b--black-05 bg-dark-blue pa4 "></td><td class="bb b--black-05 ph4 f4 b dark-blue">Aa</td><td class="bb b--black-05">--dark-blue: #00449e;</td></tr>
<tr><td class="bb b--black-05 bg-blue pa4 "></td><td class="bb b--black-05 ph4 f4 b blue">Aa</td><td class="bb b--black-05">--blue: #357edd;</td></tr>
<tr><td class="bb b--black-05 bg-light-blue pa4 "></td><td class="bb b--black-05 ph4 f4 b light-blue">Aa</td><td class="bb b--black-05">--light-blue: #96ccff;</td></tr>
<tr><td class="bb b--black-05 bg-lightest-blue pa4 "></td><td class="bb b--black-05 ph4 f4 b lightest-blue">Aa</td><td class="bb b--black-05">--lightest-blue: #cdecff;</td></tr>
<tr><td class="bb b--black-05 bg-washed-blue pa4 "></td><td class="bb b--black-05 ph4 f4 b washed-blue">Aa</td><td class="bb b--black-05">--washed-blue: #f6fffe;</td></tr>
<tr><td class="bb b--black-05 bg-washed-green pa4 "></td><td class="bb b--black-05 ph4 f4 b washed-green">Aa</td><td class="bb b--black-05">--washed-green: #e8fdf5;</td></tr>
<tr><td class="bb b--black-05 bg-washed-yellow pa4 "></td><td class="bb b--black-05 ph4 f4 b washed-yellow">Aa</td><td class="bb b--black-05">--washed-yellow: #fffceb;</td></tr>
<tr><td class="bb b--black-05 bg-washed-red pa4 "></td><td class="bb b--black-05 ph4 f4 b washed-red">Aa</td><td class="bb b--black-05">--washed-red: #ffdfdf;</td></tr>
</tbody>
</table>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 ph3 lh-copy">
.bg-dark-red { background-color: var(--dark-red); }
.bg-red { background-color: var(--red); }
.bg-orange { background-color: var(--orange); }
.bg-gold { background-color: var(--gold); }
.bg-yellow { background-color: var(--yellow); }
.bg-purple { background-color: var(--purple); }
.bg-light-purple { background-color: var(--light-purple); }
.bg-hot-pink { background-color: var(--hot-pink); }
.bg-dark-pink { background-color: var(--dark-pink); }
.bg-pink { background-color: var(--pink); }
.bg-dark-green { background-color: var(--dark-green); }
.bg-green { background-color: var(--green); }
.bg-navy { background-color: var(--navy); }
.bg-dark-blue { background-color: var(--dark-blue); }
.bg-blue { background-color: var(--blue); }
.bg-light-blue { background-color: var(--light-blue); }
.bg-lightest-blue { background-color: var(--lightest-blue); }
.bg-washed-blue { background-color: var(--washed-blue); }
.bg-washed-green { background-color: var(--washed-green); }
.bg-washed-yellow { background-color: var(--washed-yellow); }
.bg-light-pink { background-color: var(--light-pink); }
.bg-light-yellow { background-color: var(--light-yellow); }
.bg-light-red { background-color: var(--light-red); }
.dark-red { color: var(--dark-red); }
.red { color: var(--red); }
.orange { color: var(--orange); }
.gold { color: var(--gold); }
.yellow { color: var(--yellow); }
.purple { color: var(--purple); }
.light-purple { color: var(--light-purple); }
.hot-pink { color: var(--hot-pink); }
.dark-pink { color: var(--dark-pink); }
.pink { color: var(--pink); }
.dark-green { color: var(--dark-green); }
.green { color: var(--green); }
.navy { color: var(--navy); }
.dark-blue { color: var(--dark-blue); }
.blue { color: var(--blue); }
.light-blue { color: var(--light-blue); }
.lightest-blue { color: var(--lightest-blue); }
.washed-blue { color: var(--washed-blue); }
.washed-green { color: var(--washed-green); }
.washed-yellow { color: var(--washed-yellow); }
.light-pink { color: var(--light-pink); }
.light-yellow { color: var(--light-yellow); }
.light-red { color: var(--light-red); }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Borders</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid">
<div class="ba db mw5 pa3 bg-black-025 mb3 bg-near-white">ba = border on all sides</div>
<div class="bt db mw5 pa3 bg-black-025 mb3 bg-near-white">bt = border top</div>
<div class="br db mw5 pa3 bg-black-025 mb3 bg-near-white">br = border right</div>
<div class="bb db mw5 pa3 bg-black-025 mb3 bg-near-white">bb = border bottom</div>
<div class="bl db mw5 pa3 bg-black-025 mb3 bg-near-white">bl = border left</div>
<div class="bn db mw5 pa3 bg-black-025 mb3 bg-near-white">bn = border none</div>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.ba { border-style: solid; border-width: 1px; }
.bt { border-top-style: solid; border-top-width: 1px; }
.br { border-right-style: solid; border-right-width: 1px; }
.bb { border-bottom-style: solid; border-bottom-width: 1px; }
.bl { border-left-style: solid; border-left-width: 1px; }
.bn { border-style: none; border-width: 0; }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Border Styles</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid">
<div class="ba b--dotted db mw5 pa3 mb3 ">dotted</div>
<div class="ba b--dashed db mw5 pa3 mb3 ">dashed</div>
<div class="ba b--solid db mw5 pa3 mb3 ">solid</div>
<div class="ba b--none db mw5 pa3 mb3 ">none</div>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.b--dotted { border-style: dotted; }
.b--dashed { border-style: dashed; }
.b--solid { border-style: solid; }
.b--none { border-style: none; }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Border Widths</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid">
<div class="bt db mw5 mb4 bg-near-white">default</div>
<div class="bt bw1 db mw5 mb4 bg-near-white">.125rem</div>
<div class="bt bw2 db mw5 mb4 bg-near-white">.25rem</div>
<div class="bt bw3 db mw5 mb4 bg-near-white">.5rem</div>
<div class="bt bw4 db mw5 mb4 bg-near-white">1rem</div>
<div class="bt bw5 db mw5 mb4 bg-near-white">2rem</div>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.bw0 { border-width: 0; }
.bw1 { border-width: .125rem; }
.bw2 { border-width: .25rem; }
.bw3 { border-width: .5rem; }
.bw4 { border-width: 1rem; }
.bw5 { border-width: 2rem; }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Border Colors</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid pr4">
<div class="bt black b--black db pt2 pb2 mb3">b--black</div>
<div class="bt black-90 b--black-90 db pt2 pb2 mb3">b--black-90</div>
<div class="bt black-80 b--black-80 db pt2 pb2 mb3">b--black-80</div>
<div class="bt black-70 b--black-70 db pt2 pb2 mb3">b--black-70</div>
<div class="bt black-60 b--black-60 db pt2 pb2 mb3">b--black-60</div>
<div class="bt black-50 b--black-50 db pt2 pb2 mb3">b--black-50</div>
<div class="bt black-40 b--black-40 db pt2 pb2 mb3">b--black-40</div>
<div class="bt black-30 b--black-30 db pt2 pb2 mb3">b--black-30</div>
<div class="bt black-20 b--black-20 db pt2 pb2 mb3">b--black-20</div>
<div class="bt black-10 b--black-10 db pt2 pb2 mb3">b--black-10</div>
<div class="bt black-05 b--black-05 db pt2 pb2 mb3">b--black-05</div>
<div class="bt black-025 b--black-025 db pt2 pb2 mb3">b--black-025</div>
<div class="bt black-0125 b--black-0125 db pt2 pb2 mb3">b--black-0125</div>
<div class="bt near-black b--near-black db pt2 pb2 mb3">b--near-black</div>
<div class="bt dark-gray b--dark-gray db pt2 pb2 mb3">b--dark-gray</div>
<div class="bt mid-gray b--mid-gray db pt2 pb2 mb3">b--mid-gray</div>
<div class="bt gray b--gray db pt2 pb2 mb3">b--gray</div>
<div class="bg-black pa2 db">
<div class="bt silver silver b--silver db pt2 pb2 mb3">b--silver</div>
<div class="bt light-silver b--light-silver db pt2 pb2 mb3">b--light-silver</div>
<div class="bt light-gray b--light-gray db pt2 pb2 mb3">b--light-gray</div>
<div class="bt near-white b--near-white db pt2 pb2 mb3">b--near-white</div>
<div class="bt white b--white db pt2 pb2 mb3">b--white</div>
<div class="bt white-90 b--white-90 db pt2 pb2 mb3">b--white-90</div>
<div class="bt white-80 b--white-80 db pt2 pb2 mb3">b--white-80</div>
<div class="bt white-70 b--white-70 db pt2 pb2 mb3">b--white-70</div>
<div class="bt white-60 b--white-60 db pt2 pb2 mb3">b--white-60</div>
<div class="bt white-50 b--white-50 db pt2 pb2 mb3">b--white-50</div>
<div class="bt white-40 b--white-40 db pt2 pb2 mb3">b--white-40</div>
<div class="bt white-30 b--white-30 db pt2 pb2 mb3">b--white-30</div>
<div class="bt white-20 b--white-20 db pt2 pb2 mb3">b--white-20</div>
<div class="bt white-10 b--white-10 db pt2 pb2 mb3">b--white-10</div>
<div class="bt white-05 b--white-05 db pt2 pb2 mb3">b--white-05</div>
<div class="bt white-025 b--white-025 db pt2 pb2 mb3">b--white-025</div>
<div class="bt white-0125 b--white-0125 db pt2 pb2 mb3">b--white-0125</div>
<div class="bt dark-red b--dark-red db pt2 pb2 mb3">b--dark-red</div>
<div class="bt red b--red db pt2 pb2 mb3">b--red</div>
<div class="bt orange b--orange db pt2 pb2 mb3">b--orange</div>
<div class="bt gold b--gold db pt2 pb2 mb3">b--gold</div>
<div class="bt yellow b--yellow db pt2 pb2 mb3">b--yellow</div>
<div class="bt purple b--purple db pt2 pb2 mb3">b--purple</div>
<div class="bt light-purple b--light-purple db pt2 pb2 mb3">b--light-purple</div>
<div class="bt hot-pink b--hot-pink db pt2 pb2 mb3">b--hot-pink</div>
<div class="bt dark-pink b--dark-pink db pt2 pb2 mb3">b--dark-pink</div>
<div class="bt pink b--pink db pt2 pb2 mb3">b--pink</div>
<div class="bt dark-green b--dark-green db pt2 pb2 mb3">b--dark-green</div>
<div class="bt green b--green db pt2 pb2 mb3">b--green</div>
<div class="bt navy b--navy db pt2 pb2 mb3">b--navy</div>
<div class="bt dark-blue b--dark-blue db pt2 pb2 mb3">b--dark-blue</div>
<div class="bt blue b--blue db pt2 pb2 mb3">b--blue</div>
<div class="bt light-blue b--light-blue db pt2 pb2 mb3">b--light-blue</div>
<div class="bt lightest-blue b--lightest-blue db pt2 pb2 mb3">b--lightest-blue</div>
<div class="bt washed-blue b--washed-blue db pt2 pb2 mb3">b--washed-blue</div>
<div class="bt washed-green b--washed-green db pt2 pb2 mb3">b--washed-green</div>
<div class="bt washed-yellow b--washed-yellow db pt2 pb2 mb3">b--washed-yellow</div>
<div class="bt light-pink b--light-pink db pt2 pb2 mb3">b--light-pink</div>
<div class="bt light-yellow b--light-yellow db pt2 pb2 mb3">b--light-yellow</div>
<div class="bt light-red b--light-red db pt2 pb2 mb3">b--light-red</div>
<div class="bt transparent b--transparent db pt2 pb2 mb3">b--transparent</div>
</div>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.b--black { border-color: var(--black); }
.b--black-90 { border-color: var(--black-90); }
.b--black-80 { border-color: var(--black-80); }
.b--black-70 { border-color: var(--black-70); }
.b--black-60 { border-color: var(--black-60); }
.b--black-50 { border-color: var(--black-50); }
.b--black-40 { border-color: var(--black-40); }
.b--black-30 { border-color: var(--black-30); }
.b--black-20 { border-color: var(--black-20); }
.b--black-10 { border-color: var(--black-10); }
.b--black-05 { border-color: var(--black-05); }
.b--black-025 { border-color: var(--black-025); }
.b--black-0125 { border-color: var(--black-0125); }
.b--near-black { border-color: var(--near-black); }
.b--dark-gray { border-color: var(--dark-gray); }
.b--mid-gray { border-color: var(--mid-gray); }
.b--gray { border-color: var(--gray); }
.b--silver { border-color: var(--silver); }
.b--light-silver { border-color: var(--light-silver); }
.b--light-gray { border-color: var(--light-gray); }
.b--near-white { border-color: var(--near-white); }
.b--white { border-color: var(--white); }
.b--white-90 { border-color: var(--white-90); }
.b--white-80 { border-color: var(--white-80); }
.b--white-70 { border-color: var(--white-70); }
.b--white-60 { border-color: var(--white-60); }
.b--white-50 { border-color: var(--white-50); }
.b--white-40 { border-color: var(--white-40); }
.b--white-30 { border-color: var(--white-30); }
.b--white-20 { border-color: var(--white-20); }