-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·3601 lines (3289 loc) · 153 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" id="top">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<title>Tailspin</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" herf="https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap">
<link rel="stylesheet" type="text/css" href="dev/dist/dev/css/tailspin-all.css">
<style>
body {
font-family: 'Fira Sans', Arial, sans-serif;
position: relative;
}
main {
padding: 60px;
}
@media (max-width: 1199px) {
main {
padding: 20px 0 0 0;
}
}
:any-link {
text-decoration: underline;
}
:any-link:hover {
text-decoration: none;
}
ul {
margin: -5px 0;
}
ul li {
margin: 5px 0;
}
p:last-of-type {
margin: 0;
}
p:last-of-type + img {
margin: 20px 0 0 0;
}
p:last-of-type + .highlight {
margin: 20px 0 0 0;
}
.highlight {
margin: 0 0 40px 0;
padding: 1.5rem;
background: ivory;
border: 1px solid gainsboro;
border-radius: 3px;
font-size: 14px;
}
.highlight.overflow {
max-height: 250px;
overflow-x: auto;
}
pre {
margin: 0;
}
.mint {
background: mintcream;
}
.gray {
color: darkgray;
}
.blue {
color: purple;
}
img {
max-width: 100%;
display: block;
}
.box {
height: 50px;
width: 50px;
background: crimson;
}
.box-single {
position: relative;
left: 0;
transform: rotate(0deg);
transition-property: all;
transition-duration: 0.3s !important;
transition-timing-function: linear;
}
.box-single.animate {
left: 80%;
transform: rotate(360deg);
}
.animation-example {
margin: 40px 0;
}
.animation-text {
width: 65%;
}
.animation-item {
height: 30px;
width: 100%;
max-width: 200px;
position: relative;
}
.item-line {
height: 2px;
width: 100%;
background: lightgray;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
}
.item-dot {
height: 14px;
width: 14px;
background: crimson;
border-radius: 50%;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
transition-duration: 0.5s !important;
z-index: 2;
}
.item-dot.left {
left: 100%;
}
.back-to-top {
height: 30px;
width: 30px;
background: #f7f7f7;
border: 1px solid gainsboro;
border-radius: 3px;
opacity: 0;
position: fixed;
bottom: 20px;
right: 20px;
transition: opacity 0.15s ease-out;
}
.back-to-top img {
height: auto;
width: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.back-to-top.visible {
opacity: 1;
}
header, footer {
background: #f7f7f7;
border-color: gainsboro;
}
header {
width: 100%;
padding: 18px 0;
border-bottom-width: 1px;
border-bottom-style: solid;
position: fixed;
top: 0;
left: 0;
z-index: 2;
}
header h1 {
font-size: 30px;
font-weight: 600;
}
footer {
padding: 60px 0;
border-top-width: 1px;
border-top-style: solid;
}
.menu-trigger {
height: 30px;
width: 30px;
border: 1px solid gainsboro;
border-radius: 3px;
display: block;
position: fixed;
top: 20px;
left: 20px;
z-index: 3;
transition: left 0.15s ease-out;
}
.menu-trigger span {
height: 2px;
width: calc(100% - 12px);
background: black;
display: block;
position: absolute;
left: 6px;
transition: all 0.2s ease-out;
}
.menu-trigger span:nth-of-type(1) {
top: 50%;
transform: translateY(calc(-50% - 6px)) rotate(0deg);
}
.menu-trigger span:nth-of-type(2) {
opacity: 1;
top: 50%;
transform: translateY(-50%);
}
.menu-trigger span:nth-of-type(3) {
top: 50%;
transform: translateY(calc(-50% + 6px)) rotate(0deg);
}
.menu-trigger.open {
left: 370px;
}
.menu-trigger.open span:nth-of-type(1) {
top: 50%;
transform: translateY(calc(-50% - 0px)) rotate(135deg);
}
.menu-trigger.open span:nth-of-type(2) {
opacity: 0;
}
.menu-trigger.open span:nth-of-type(3) {
top: 50%;
transform: translateY(calc(-50% + 0px)) rotate(225deg);
}
.menu-target {
height: 101vh;
width: 350px;
padding: 45px 0 90px 0;
background: slategrey;
position: fixed;
top: 0;
left: -350px;
z-index: 3;
overflow-y: auto;
transition: left 0.15s ease-out;
}
.menu-target li:first-of-type {
border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.menu-target li {
margin: 0;
font-size: 14px;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.menu-target li a {
padding: 12px 20px;
color: white;
text-decoration: none;
display: block;
transition: all 0.2s ease-out;
}
.menu-target li a:hover {
background: rgba(0, 0, 0, 0.2);
}
.menu-target.open {
left: 0;
}
</style>
</head>
<body>
<header>
<div class="container-fluid">
<div class="row">
<div class="col">
<div class="padding-left-right-60">
<h1>Tailspin</h1>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="padding-bottom-45"></div>
<!-- breakpoints -->
<section class="padding-top-bottom-30" id="breakpoints">
<div class="container-fluid">
<div class="row">
<div class="col">
<h4 class="margin-bottom-25" style="color: crimson;">Responsive Breakpoints</h4>
</div>
</div>
<div class="row">
<div class="col-xl-7">
<p>Responsive breakpoints are <a href="https://sass-lang.com/" target="+blank">SCSS</a> (or SASS) mixins that not only change the breakpoints for various Tailspin classes and utiliies, but can also be used in additional custom SASS based CSS along side the Tailspin library. If another library or framework is used that supports responsive design, such as <a href="https://getbootstrap.com/" target="_blank">Bootstrap</a>, the additional library or framework is not affected by Tailspin's responsive breakpoints.</p>
<p>Resize the browser to see responsive breakpoints in action.</p>
</div>
</div>
<div class="row">
<div class="col-xl-5">
<hr class="margin-top-bottom-30">
<p>Depending on the breakpoint mixin used, both a dekstop or mobile first approach are supported.</p>
<p>The definitions for desktop first breakpoints are created by using a mixin name that is appended by <span class="blue">max</span>, and the mobile first breakpoints are created using a mixin name that is appended by <span class="blue">min</span>.</p>
<p>There are <strong>8 breakpoints</strong> available. Use the mixins in any custom SASS based CSS.</p>
<img src="samples/images/009.jpg" alt="">
<div class="row margin-top-30">
<div class="col-xl-6">
<p><strong>Desktop first</strong></p>
<p>Max-width, the given screen size or smaller.</p>
<p class="margin-bottom-0" style="font-size: 14px;">.custom-class {</p>
<p class="margin-bottom-8" style="font-size: 14px;"> background: red;</p>
<p class="margin-bottom-0" style="font-size: 14px;"> @include <span style="color: crimson;">breakpoint-max(tablet)</span> {</p>
<p class="margin-bottom-0" style="font-size: 14px;"> background: green;</p>
<p class="margin-bottom-8" style="font-size: 14px;"> }</p>
<p class="margin-bottom-0" style="font-size: 14px;"> @include <span style="color: crimson;">breakpoint-max(phone-xlg)</span> {</p>
<p class="margin-bottom-0" style="font-size: 14px;"> background: blue;</p>
<p class="margin-bottom-0" style="font-size: 14px;"> }</p>
<p style="font-size: 14px;">}</p>
</div>
<div class="col-xl-6">
<p><strong>Mobile first</strong></p>
<p>Min-width, the given screen size or larger.</p>
<p class="margin-bottom-0" style="font-size: 14px;">.custom-class {</p>
<p class="margin-bottom-8" style="font-size: 14px;"> background: blue;</p>
<p class="margin-bottom-0" style="font-size: 14px;"> @include <span style="color: crimson;">breakpoint-min(phone-xlg)</span> {</p>
<p class="margin-bottom-0" style="font-size: 14px;"> background: green;</p>
<p class="margin-bottom-8" style="font-size: 14px;"> }</p>
<p class="margin-bottom-0" style="font-size: 14px;"> @include <span style="color: crimson;">breakpoint-min(tablet)</span> {</p>
<p class="margin-bottom-0" style="font-size: 14px;"> background: red;</p>
<p class="margin-bottom-0" style="font-size: 14px;"> }</p>
<p style="font-size: 14px;">}</p>
</div>
</div>
</div>
<div class="col-xl-7">
<hr class="margin-top-bottom-30">
<p><strong>Code</strong></p>
<div class="highlight overflow">
<pre><div class="<span style="color: crimson;">responsive-breakpoints</span>">
Resize the browser to see responsive breakpoints in action.
</div>
<span style="color: orangered">Custom desktop first SCSS using responsive breakpoint mixins</span>
.responsive-breakpoints {
background: white;
@include <span style="color: crimson;">breakpoint-max(desktop-lg)</span> {
background: cornsilk;
}
@include <span style="color: crimson;">breakpoint-max(desktop-md)</span> {
background: lightcyan;
}
@include <span style="color: crimson;">breakpoint-max(desktop-sm)</span> {
background: mistyrose;
}
@include <span style="color: crimson;">breakpoint-max(tablet)</span> {
background: seashell;
}
@include <span style="color: crimson;">breakpoint-max(phone-xlg)</span> {
background: lightgreen;
}
@include <span style="color: crimson;">breakpoint-max(phone-lg)</span> {
background: powderblue;
}
@include <span style="color: crimson;">breakpoint-max(phone-md)</span> {
background: honeydew;
}
@include <span style="color: crimson;">breakpoint-max(phone-sm)</span> {
background: paleturquoise;
}
}</pre>
</div>
<p><strong>Result</strong></p>
<div class="highlight mint">
<div class="padding-top-bottom-30 padding-left-right-60 border text-center" id="custom-class">
<p>Resize the browser to see responsive breakpoints in action.</p>
</div>
<style>
[id=custom-class] {
background: white;
}
@media (max-width: 1439px) {
[id=custom-class] { background: cornsilk; }
}
@media (max-width: 1365px) {
[id=custom-class] { background: lightcyan; }
}
@media (max-width: 1199px) {
[id=custom-class] { background: mistyrose; }
}
@media (max-width: 991px) {
[id=custom-class] { background: seashell; }
}
@media (max-width: 767px) {
[id=custom-class] { background: lightgreen; }
}
@media (max-width: 599px) {
[id=custom-class] { background: powderblue; }
}
@media (max-width: 479px) {
[id=custom-class] { background: honeydew; }
}
@media (max-width: 419px) {
[id=custom-class] { background: paleturquoise; }
}
</style>
</div>
<hr class="margin-top-bottom-30">
<p><strong>Supported naming patterns:</strong></p>
<div class="row margin-top-20">
<div class="col-xl-6 padding-bottom-30">
<p>Max width, the given screen size or smaller.</p>
<p>
<span class="blue">breakpoint-max(desktop-lg)</span><br />
<span class="blue">breakpoint-max(desktop-md)</span><br />
<span class="blue">breakpoint-max(desktop-sm)</span><br /><br />
<span class="blue">breakpoint-max(tablet)</span><br /><br />
<span class="blue">breakpoint-max(phone-xlg)</span><br />
<span class="blue">breakpoint-max(phone-lg)</span><br />
<span class="blue">breakpoint-max(phone-md)</span><br />
<span class="blue">breakpoint-max(phone-sm)</span><br />
</p>
</div>
<div class="col-xl-6 padding-bottom-30">
<p>Min width, the given screen size or larger.</p>
<p>
<span class="blue">breakpoint-min(desktop-lg)</span><br />
<span class="blue">breakpoint-min(desktop-md)</span><br />
<span class="blue">breakpoint-min(desktop-sm)</span><br /><br />
<span class="blue">breakpoint-min(tablet)</span><br /><br />
<span class="blue">breakpoint-min(phone-xlg)</span><br />
<span class="blue">breakpoint-min(phone-lg)</span><br />
<span class="blue">breakpoint-min(phone-md)</span><br />
<span class="blue">breakpoint-min(phone-sm)</span><br />
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- typography -->
<section class="padding-top-bottom-30" id="typography">
<div class="container-fluid">
<div class="row">
<div class="col">
<h4 class="margin-bottom-25" style="color: crimson;">Typography</h4>
</div>
</div>
<div class="row">
<div class="col-xl-7">
<p>Typography sizes are based on a <a href="https://www.modularscale.com/" target="_blank">modular scale</a> ratio, written by <a href="https://tbrown.org/" target="_blank">Tim Brown</a>. There are seven scale ratios to choose from in Tailspin. They do not require breakpoints for responsive sizing since the use of the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/clamp()" target="_blank">clamp()</a> CSS function allows controlled scaling of the typography sizes as the viewport width is increased or decreased.</p>
<p>Default modular scale ratio is 1.333 (Perfect Fourth). Resize the browser to see the scaling in action.</p>
</div>
</div>
<div class="row">
<div class="col-xl-5">
<hr class="margin-top-bottom-30">
<p>Define the base font size and modular scale.</p>
<p>Base font size is 1 : 1rem = 16px <br />Default modular scale is 1.333 (Perfect Fourth)</p>
<p>Only the typography size is controlled, other properties are not included.</p>
<img src="samples/images/001.jpg" alt="">
</div>
<div class="col-xl-7">
<hr class="margin-top-bottom-30">
<h1 class="margin-bottom-10">h1 - This is an H1 heading</h1>
<hr class="margin-top-bottom-30">
<h2 class="margin-bottom-10">h2 - This is an H2 heading</h2>
<hr class="margin-top-bottom-30">
<h3 class="margin-bottom-10">h3 - This is an H3 heading</h3>
<hr class="margin-top-bottom-30">
<h4 class="margin-bottom-10">h4 - This is an H4 heading</h4>
<hr class="margin-top-bottom-30">
<h5 class="margin-bottom-10">h5 - This is an H5 heading</h5>
<hr class="margin-top-bottom-30">
<h6 class="margin-bottom-10">h6 - This is an H6 heading</h6>
<hr class="margin-top-bottom-30">
<p>p - This is a paragraph</small>
<hr class="margin-top-bottom-30">
<small>small - This is small text</small>
</div>
</div>
</div>
</section>
<div class="padding-bottom-60"></div>
<!-- font sizes -->
<section class="padding-top-bottom-30" id="font-sizes">
<div class="container-fluid">
<div class="row">
<div class="col">
<h4 class="margin-bottom-25" style="color: crimson;">Font Size</h4>
</div>
</div>
<div class="row">
<div class="col-xl-7">
<p>Not to be confused with typography, Font Size produces a class system that controls the sizing of text. Font Size classes support responsive breakpoints for tablet and phone viewport widths.</p>
<p>Pixel units are converted to rem units when compiled : 1rem = 16px</p>
</div>
</div>
<div class="row">
<div class="col-xl-5">
<hr class="margin-top-bottom-30">
<p>Define the incremental value and maximum value for font sizes.</p>
<p>If the incremental value is 5, and the maximum font size is 20, the CSS output will produce font sizes starting at 5, and ending at 20. The sizes will increase by a value of 5 until the maxiumum is reached. The larger the maxiumum value is, the more CSS rules are created. This creates a larger CSS file disc size. Be cautious how many sizes are needed.</p>
<p>In the example below, the result would be: 1px, 2px, 3px, 4px, 5px, 6px ... 59px, 60px.</p>
<img src="samples/images/002.jpg" alt="">
</div>
<div class="col-xl-7">
<hr class="margin-top-bottom-30">
<p class="margin-bottom-30">The following example will apply a font size of 32px to the paragraph, a font size of 20px to the paragraph on a tablet size breakpoint, and a font size of 16px to the paragraph on a phone size breakpoint.</p>
<p><strong>Code</strong></p>
<div class="highlight">
<pre><p class="<span style="color: crimson;">font-size-32 tablet-font-size-20 phone-font-size-16</span>">
Lorem ipsum dolor sit amet consectetur adipiscing elit.
</p></pre>
</div>
<p><strong>Result</strong></p>
<div class="highlight mint">
<p class="font-size-32 tablet-font-size-20 phone-font-size-16">Lorem ipsum dolor sit amet consectetur adipiscing elit.</p>
</div>
<hr class="margin-top-bottom-30">
<p><strong>Supported class name patterns:</strong></p>
<div class="row margin-top-20">
<div class="col-xl-4 padding-bottom-30">
<p>Desktop to phone</p>
<p>
<span class="blue">font-size-</span><span class="gray">[value]</span>
</p>
</div>
<div class="col-xl-4 padding-bottom-30">
<p>Tablet to phone</p>
<p>
<span class="blue">tablet-font-size-</span><span class="gray">[value]</span>
</p>
</div>
<div class="col-xl-4 padding-bottom-30">
<p>Phone</p>
<p>
<span class="blue">phone-font-size-</span><span class="gray">[value]</span>
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="padding-bottom-60"></div>
<!-- margin -->
<section class="padding-top-bottom-30" id="margin">
<div class="container-fluid">
<div class="row">
<div class="col">
<h4 class="margin-bottom-25" style="color: crimson;">Margin</h4>
</div>
</div>
<div class="row">
<div class="col-xl-7">
<p>Margin produces a class system that controls the top, bottom, left, and right margins. Margin classes also support responsive breakpoints for tablet and phone viewport widths. These classes will override <a href="https://getbootstrap.com" target="_blank">Bootstrap</a> utility classes.</p>
<p>Pixel units are converted to rem units when compiled : 1rem = 16px</p>
</div>
</div>
<div class="row">
<div class="col-xl-5">
<hr class="margin-top-bottom-30">
<p>Define the maximum value for the amount of margin sizes needed.</p>
<p>If the maximum value is 10, there will only be 11 margin rules created. Starting from 0px, which increases by 1px, until 10px is reached. The larger the maxiumum value is, the more CSS rules are created. This creates a larger CSS file disc size. Be cautious how many sizes are needed.</p>
<img src="samples/images/003.jpg" alt="">
</div>
<div class="col-xl-7">
<hr class="margin-top-bottom-30">
<p class="margin-bottom-30">The following example will add 30 pixels of margin to the left and right sides of the div block, then 10 pixels of margin on a tablet size breakpoint, then zero pixels of margin on a phone size breakpoint.</p>
<p><strong>Code</strong></p>
<div class="highlight">
<pre><div class="<span style="color: crimson;">margin-left-right-30 tablet-margin-left-right-10 phone-margin-0</span>">
Lorem ipsum dolor sit amet consectetur adipiscing elit.
</div></pre>
</div>
<p><strong>Result</strong></p>
<div class="highlight mint">
<div class="margin-left-right-30 tablet-margin-left-right-10 phone-margin-0">
Lorem ipsum dolor sit amet consectetur adipiscing elit.
</div>
</div>
<hr class="margin-top-bottom-30">
<p><strong>Supported naming patterns:</strong></p>
<div class="row margin-top-20">
<div class="col-xl-4 padding-bottom-30">
<p>Desktop to phone</p>
<p>
<span class="blue">margin-</span><span class="gray">[value]</span><br />
<span class="blue">margin-top-</span><span class="gray">[value]</span><br />
<span class="blue">margin-bottom-</span><span class="gray">[value]</span><br />
<span class="blue">margin-top-bottom-</span><span class="gray">[value]</span><br />
<span class="blue">margin-left-</span><span class="gray">[value]</span><br />
<span class="blue">margin-right-</span><span class="gray">[value]</span><br />
<span class="blue">margin-left-right-</span><span class="gray">[value]</span>
</p>
</div>
<div class="col-xl-4 padding-bottom-30">
<p>Tablet to phone</p>
<p>
<span class="blue">tablet-margin-</span><span class="gray">[value]</span><br />
<span class="blue">tablet-margin-top-</span><span class="gray">[value]</span><br />
<span class="blue">tablet-margin-bottom-</span><span class="gray">[value]</span><br />
<span class="blue">tablet-margin-top-bottom-</span><span class="gray">[value]</span><br />
<span class="blue">tablet-margin-left-</span><span class="gray">[value]</span><br />
<span class="blue">tablet-margin-right-</span><span class="gray">[value]</span><br />
<span class="blue">tablet-margin-left-right-</span><span class="gray">[value]</span>
</p>
</div>
<div class="col-xl-4 padding-bottom-30">
<p>Phone</p>
<p>
<span class="blue">phone-margin-</span><span class="gray">[value]</span><br />
<span class="blue">phone-margin-top-</span><span class="gray">[value]</span><br />
<span class="blue">phone-margin-bottom-</span><span class="gray">[value]</span><br />
<span class="blue">phone-margin-top-bottom-</span><span class="gray">[value]</span><br />
<span class="blue">phone-margin-left-</span><span class="gray">[value]</span><br />
<span class="blue">phone-margin-right-</span><span class="gray">[value]</span><br />
<span class="blue">phone-margin-left-right-</span><span class="gray">[value]</span>
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="padding-bottom-60"></div>
<!-- padding -->
<section class="padding-top-bottom-30" id="padding">
<div class="container-fluid">
<div class="row">
<div class="col">
<h4 class="margin-bottom-25" style="color: crimson;">Padding</h4>
</div>
</div>
<div class="row">
<div class="col-xl-7">
<p>Padding produces a class system that controls the top, bottom, left, and right padding. Padding classes also support responsive breakpoints for tablet and phone viewport widths. These classes will override <a href="https://getbootstrap.com" target="_blank">Bootstrap</a> utility classes.</p>
<p>Pixel units are converted to rem units when compiled : 1rem = 16px</p>
</div>
</div>
<div class="row">
<div class="col-xl-5">
<hr class="margin-top-bottom-30">
<p>Define the maximum value for the amount of padding sizes needed.</p>
<p>If the maximum value is 20, there will only be 21 padding rules created. Starting from 0px, which increases by 1px, until 20px is reached. The larger the maxiumum value is, the more CSS rules are created. This creates a larger CSS file disc size. Be cautious how many sizes are needed.</p>
<img src="samples/images/004.jpg" alt="">
</div>
<div class="col-xl-7">
<hr class="margin-top-bottom-30">
<p class="margin-bottom-30">The following example will add 45 pixels of padding to the div block, then 20 pixels of padding to the top and bottom, leaving 45 pixels to the left and right of the div block, on a tablet size breakpoint. Then 10 pixels of padding to the top and bottom, leaving 45 pixels to the left and right of the div block, on a phone size breakpoint.</p>
<p><strong>Code</strong></p>
<div class="highlight">
<pre><div class="<span style="color: crimson;">padding-45 tablet-padding-top-bottom-20 phone-padding-top-bottom-10</span>">
Lorem ipsum dolor sit amet consectetur adipiscing elit.
</div></pre>
</div>
<p><strong>Result</strong></p>
<div class="highlight mint">
<div class="padding-45 tablet-padding-top-bottom-20 phone-padding-top-bottom-10">
Lorem ipsum dolor sit amet consectetur adipiscing elit.
</div>
</div>
<hr class="margin-top-bottom-30">
<p><strong>Supported naming patterns:</strong></p>
<div class="row margin-top-20">
<div class="col-xl-4 padding-bottom-30">
<p>Desktop to phone</p>
<p>
<span class="blue">padding-</span><span class="gray">[value]</span><br />
<span class="blue">padding-top-</span><span class="gray">[value]</span><br />
<span class="blue">padding-bottom-</span><span class="gray">[value]</span><br />
<span class="blue">padding-top-bottom-</span><span class="gray">[value]</span><br />
<span class="blue">padding-left-</span><span class="gray">[value]</span><br />
<span class="blue">padding-right-</span><span class="gray">[value]</span><br />
<span class="blue">padding-left-right-</span><span class="gray">[value]</span>
</p>
</div>
<div class="col-xl-4 padding-bottom-30">
<p>Tablet to phone</p>
<p>
<span class="blue">tablet-padding-</span><span class="gray">[value]</span><br />
<span class="blue">tablet-padding-top-</span><span class="gray">[value]</span><br />
<span class="blue">tablet-padding-bottom-</span><span class="gray">[value]</span><br />
<span class="blue">tablet-padding-top-bottom-</span><span class="gray">[value]</span><br />
<span class="blue">tablet-padding-left-</span><span class="gray">[value]</span><br />
<span class="blue">tablet-padding-right-</span><span class="gray">[value]</span><br />
<span class="blue">tablet-padding-left-right-</span><span class="gray">[value]</span>
</p>
</div>
<div class="col-xl-4 padding-bottom-30">
<p>Phone</p>
<p>
<span class="blue">phone-padding-</span><span class="gray">[value]</span><br />
<span class="blue">phone-padding-top-</span><span class="gray">[value]</span><br />
<span class="blue">phone-padding-bottom-</span><span class="gray">[value]</span><br />
<span class="blue">phone-padding-top-bottom-</span><span class="gray">[value]</span><br />
<span class="blue">phone-padding-left-</span><span class="gray">[value]</span><br />
<span class="blue">phone-padding-right-</span><span class="gray">[value]</span><br />
<span class="blue">phone-padding-left-right-</span><span class="gray">[value]</span>
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="padding-bottom-60"></div>
<!-- tables -->
<section class="padding-top-bottom-30" id="tables">
<div class="container-fluid">
<div class="row">
<div class="col">
<h4 class="margin-bottom-25" style="color: crimson;">Responsive Tables</h4>
</div>
</div>
<div class="row">
<div class="col-xl-7">
<p>Settings and classes for styling responsive tables and table elements. These classes will override <a href="https://getbootstrap.com" target="_blank">Bootstrap</a> table classes.</p>
</div>
</div>
<div class="row">
<div class="col-xl-5">
<hr class="margin-top-bottom-30">
<p>Define the responsive breakpoint that tables will support mobile device widths.</p>
<img src="samples/images/008.jpg" alt="">
<div class="row margin-top-30">
<div class="col-lg-6 padding-bottom-30">
<p><strong>Supported table class names:</strong></p>
<p>
<span class="blue">table</span><br />
<span class="blue">table-dark</span><br />
<span class="blue">table-stripped</span><br />
<span class="blue">table-centered</span><br />
</p>
</div>
<div class="col-lg-6 padding-bottom-30">
<p><strong>Supported breakpoint names:</strong></p>
<p>
<span class="blue">$breakpoint-desktop-large</span><br />
<span class="blue">$breakpoint-desktop-medium</span><br />
<span class="blue">$breakpoint-desktop-small</span><br />
<span class="blue">$breakpoint-tablet</span><br />
<span class="blue">$breakpoint-phone-extralarge</span><br />
<span class="blue">$breakpoint-phone-large</span><br />
<span class="blue">$breakpoint-phone-medium</span><br />
<span class="blue">$breakpoint-phone-small</span><br />
</p>
</div>
</div>
</div>
<div class="col-xl-7">
<hr class="margin-top-bottom-30">
<p><strong>Default Table</strong></p>
<p><strong>Code</strong></p>
<div class="highlight overflow">
<pre><table class="<span style="color: crimson;">table</span>">
<caption>Default Table Caption</caption>
<thead>
<tr>
<th scope="col">Table head 1</th>
<th scope="col">Table head 2</th>
<th scope="col">Table head 3</th>
<th scope="col">Table head 4</th>
<th scope="col">Table head 5</th>
</tr>
</thead>
<tbody>
<tr>
<td data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
<tr>
<td scope="row" data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
<tr>
<td scope="row" data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
</tbody>
</table></pre>
</div>
<p class="margin-bottom-15"><strong>Result</strong></p>
<table class="table">
<caption>Default Table Caption</caption>
<thead>
<tr>
<th scope="col">Table head 1</th>
<th scope="col">Table head 2</th>
<th scope="col">Table head 3</th>
<th scope="col">Table head 4</th>
<th scope="col">Table head 5</th>
</tr>
</thead>
<tbody>
<tr>
<td data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
<tr>
<td scope="row" data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
<tr>
<td scope="row" data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
<tr>
<td scope="row" data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
<tr>
<td scope="row" data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
</tbody>
</table>
<hr class="margin-top-45 margin-bottom-35">
<p><strong>Stripped Table</strong></p>
<p><strong>Code</strong></p>
<div class="highlight overflow">
<pre><table class="<span style="color: crimson;">table table-stripped</span>">
<thead>
<tr>
<th scope="col">Table head 1</th>
<th scope="col">Table head 2</th>
<th scope="col">Table head 3</th>
<th scope="col">Table head 4</th>
<th scope="col">Table head 5</th>
</tr>
</thead>
<tbody>
<tr>
<td data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
<tr>
<td scope="row" data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
<tr>
<td scope="row" data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
</tbody>
</table></pre>
</div>
<p class="margin-bottom-15"><strong>Result</strong></p>
<table class="table table-stripped table-white">
<caption>Stripped Table Caption</caption>
<thead>
<tr>
<th scope="col">Table head 1</th>
<th scope="col">Table head 2</th>
<th scope="col">Table head 3</th>
<th scope="col">Table head 4</th>
<th scope="col">Table head 5</th>
</tr>
</thead>
<tbody>
<tr>
<td data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
<tr>
<td scope="row" data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
<tr>
<td scope="row" data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>
<td data-label="Table head 3">Table cell 3</td>
<td data-label="Table head 4">Table cell 4</td>
<td data-label="Table head 5">Table cell 5</td>
</tr>
<tr>
<td scope="row" data-label="Table head 1">Table cell 1</td>
<td data-label="Table head 2">Table cell 2</td>