/
doc.html
1125 lines (1064 loc) · 46.3 KB
/
doc.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>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />
<link rel="stylesheet" href="./prism/prismLucario.css" />
<link rel="stylesheet" href="./doc.css" />
<link rel="stylesheet" href="./index.css" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="msapplication-TileImage" content="/mstile-144x144.png" />
<meta name="theme-color" content="#ffffff" />
<title>Fx UI</title>
<meta name="robots" content="follow, index" />
<meta
content="A lightweight and utility-first CSS library that can be composed to develop fast and powerful web interfaces, directly in your markup."
name="description"
/>
<meta property="og:url" content="https://fx-ui.utsavkumar.tech/doc.html" />
<link rel="canonical" href="https://fx-ui.utsavkumar.tech" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="fx-ui.utsavkumar.tech" />
<meta
property="og:description"
content="A lightweight and utility-first CSS library that can be composed to develop fast and powerful web interfaces, directly in your markup."
/>
<meta property="og:title" content="Fx UI" />
<meta
name="image"
property="og:image"
content="https://fx-ui.utsavkumar.tech/ogMain.png"
/>
<meta
name="twitter:card"
content="https://fx-ui.utsavkumar.tech/ogMain.png"
/>
<meta name="twitter:site" content="@utsavkumar280" />
<meta name="twitter:title" content="Fx UI" />
<meta
name="twitter:description"
content="A lightweight and utility-first CSS library that can be composed to develop fast and powerful web interfaces, directly in your markup."
/>
<meta
name="twitter:image"
content="https://fx-ui.utsavkumar.tech/ogMain.png"
/>
</head>
<body>
<div class="mainPageLayout">
<header class="mainHeader">
<div class="logoContainer">
<a href="./index.html"><img src="./assets/flash.svg" alt="#" />
<div>Fx UI</div>
</a>
</div>
<button class="btn btnIconSecondary menuBtn"><span class="btnIcon"><i class="fas fa-bars"
id="menu"></i></span></button>
</header>
<nav class="sidebar">
<div class="scrollContainer">
<h2>Getting Started</h2>
<ul>
<li><a href="#intro" class="sideClicks">Installation</a></li>
</ul>
<h2>Components</h2>
<ul>
<li><a href="#mainAccordian" class="sideClicks"> Accordian</a></li>
<li><a href="#mainAlerts" class="sideClicks"> Alerts</a></li>
<li><a href="#mainBadge" class="sideClicks"> Badge</a></li>
<li><a href="#mainBreadcrumb" class="sideClicks"> Breadcrumb</a></li>
<li><a href="#mainButtons" class="sideClicks"> Buttons</a></li>
<li><a href="#mainCarousel" class="sideClicks"> Carousel</a></li>
<li><a href="#mainDropdowns" class="sideClicks"> Dropdowns</a></li>
<li><a href="#mainModal" class="sideClicks"> Modal</a></li>
<li><a href="#mainToasts" class="sideClicks"> Toasts</a></li>
</ul>
<h2>Forms</h2>
<ul>
<li><a href="#mainFormControl" class="sideClicks"> Form Control</a></li>
<li><a href="#mainFileInput" class="sideClicks"> File Input</a></li>
<li><a href="#mainSelect" class="sideClicks"> Select</a></li>
<li><a href="#mainDataList" class="sideClicks">DataList</a></li>
<li><a href="#mainCheckRadios" class="sideClicks"> Check and radios</a></li>
<li><a href="#mainRange" class="sideClicks"> Range</a></li>
<li><a href="#mainFormValidation" class="sideClicks">Form Validation</a></li>
</ul>
<h2>Content</h2>
<ul>
<li><a href="#mainTypography" class="sideClicks"> Typography</a></li>
</ul>
</div>
</nav>
<main class="mainContentContainer">
<section class="contentContainer">
<div id="intro" class="container">
<h1>Installation</h1>
<h3>
Copy-paste the stylesheet <code><link></code> into your
<code><head></code> before all other stylesheets to load our
CSS.
</h3>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<link rel="stylesheet" href="https://fx-ui.netlify.app/componentsMain.css">
</xmp>
</code>
</pre>
<h3>
This is the <code><script></code> file that will provide all the logic required by the components.
</h3>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<script src="https://fx-ui.netlify.app/ComponentsStyles/logic.js"></script>
</xmp>
</code>
</pre>
</div>
</section>
<section class="contentContainer">
<div id="mainAccordian" class="container">
<h1>Accordian</h1>
<h3>
Displays collapsible content panels for presenting information in
a limited amount of space.
</h3>
<h2>Example</h2>
<p>
Click the accordions below to expand/collapse the accordion
content.
</p>
<div class="content">
<div class="accordion">
<div>
<input type="checkbox" name="example_accordion" id="section1" class="accordionInput" />
<label for="section1" class="accordionLabel">Section 1</label>
<div class="accordionContent">
<p>Section 1</p>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Numquam sit reiciendis, ipsam quaerat, aperiam
perspiciatis ad ullam architecto impedit natus illo
nostrum molestias voluptas earum a voluptatibus fugiat
fuga facere!
</p>
</div>
</div>
<div>
<input type="checkbox" name="example_accordion" id="section2" class="accordionInput" />
<label for="section2" class="accordionLabel">Section 2</label>
<div class="accordionContent">
<p>Section 2</p>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Numquam sit reiciendis, ipsam quaerat, aperiam
perspiciatis ad ullam architecto impedit natus illo
nostrum molestias voluptas earum a voluptatibus fugiat
fuga facere!
</p>
</div>
</div>
<div>
<input type="checkbox" name="example_accordion" id="section3" class="accordionInput" />
<label for="section3" class="accordionLabel">Section 3</label>
<div class="accordionContent">
<p>Section 3</p>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Numquam sit reiciendis, ipsam quaerat, aperiam
perspiciatis ad ullam architecto impedit natus illo
nostrum molestias voluptas earum a voluptatibus fugiat
fuga facere!
</p>
</div>
</div>
</div>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<div class="accordion">
<div>
<input type="checkbox" name="example_accordion" id="section1" class="accordionInput">
<label for="section1" class="accordionLabel">Section 1</label>
<div class="accordionContent">
<p>Section 1</p>
<p>Lorem ipsum dolor sit ...</p>
</div>
</div>
</div>
</xmp>
</code>
</pre>
</div>
</section>
<section class="contentContainer">
<div id="mainAlerts" class="container">
<h1>Alerts</h1>
<h3>
Provide contextual feedback messages for typical user actions with
the handful of available and flexible alert messages.
</h3>
<h2>Examples</h2>
<p>
Alerts are available in 8 types-
primary, secondary, success, danger, warning, info, light, dark.
</p>
<p>
You can use alert by adding the class <strong>.alert</strong> along with alert
type class name (ie. <strong>class="alert secondary</strong> ")
</p>
</div>
<div class="content">
<div class="alert alertPrimary">A simple primary alert!</div>
<div class="alert alertSecondary">A simple secondary alert!</div>
<div class="alert alertSuccess">A simple success alert!</div>
<div class="alert alertDanger">A simple danger alert!</div>
<div class="alert alertWarning">A simple warning alert!</div>
<div class="alert alertInfo">A simple info alert!</div>
<div class="alert alertLight">A simple light alert!</div>
<div class="alert alertDark">A simple dark alert!</div>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<div class="alert alertPrimary">A simple primary alert!</div>
<div class="alert alertSecondary">A simple secondary alert!</div>
<div class="alert alertSuccess">A simple success alert.</div>
<div class="alert alertDanger">A simple danger alert!</div>
<div class="alert alertWarning">A simple warning alert!</div>
<div class="alert alertInfo">A simple info alert.</div>
<div class="alert alertLight">A simple light alert!</div>
<div class="alert alertDark">A simple dark alert!</div>
</xmp>
</code>
</pre>
</section>
<section class="contentContainer">
<div id="mainBadge" class="container">
<h1>Badges</h1>
<h3>
Badges can notify you that there are new or unread messages or
notifications.
</h3>
<h2>Examples</h2>
<p>
Badges scale to match the size of the immediate parent element by using relative font sizing.
</p>
</div>
<div class="content">
<h1>Example Heading <span class="badge badgePrimary">New</span></h1>
<h2>
Example Heading <span class="badge badgeSecondary">New</span>
</h2>
<h3>Example Heading <span class="badge badgePrimary">New</span></h3>
<h4>
Example Heading <span class="badge badgeSecondary">New</span>
</h4>
<h5>Example Heading <span class="badge badgePrimary">New</span></h5>
<h6>
Example Heading <span class="badge badgeSecondary">New</span>
</h6>
<p>
Example Paragraph
<span class="badge badgePrimary badgePill">New</span>
</p>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<h1>Example Heading <span class="badge badgePrimary">New</span></h1>
<h2>Example Heading <span class="badge badgeSecondary">New</span></h2>
<h3>Example Heading <span class="badge badgePrimary">New</span></h3>
<h4>Example Heading <span class="badge badgeSecondary">New</span></h4>
<h5>Example Heading <span class="badge badgePrimary">New</span></h5>
<h6>Example Heading <span class="badge badgeSecondary">New</span></h6>
<p>Example Paragraph<span class="badge badgePrimary badgePill">New</span></p>
</xmp>
</code>
</pre>
</section>
<!-- Breadcrumbs -->
<section class="contentContainer">
<div id="mainBreadcrumb" class="container">
<h1>Breadcrumb</h1>
<h3>
Breadcrumbs are a good way to display your current location. This
is usually used when you have multiple layers of content.It is
used to indicate the current page’s location within a navigational
hierarchy
</h3>
<h2>Examples</h2>
<p>
There are two variants of Breadcrumbs.
</p>
<p>
One has <strong>"forward slash"</strong> as the seperator and the other one has a <strong>"greater
than"</strong> symbol.
</p>
</div>
<div class="content">
<ul class="breadcrumbs">
<li class="breadcrumbsItem">
<a href="#" class="breadcrumbsLink">Home</a>
</li>
<li class="breadcrumbsItem">About</li>
</ul>
<ul class="breadcrumbs">
<li class="breadcrumbsItem">
<a href="#" class="breadcrumbsLink">Home</a>
</li>
<li class="breadcrumbsItem">
<a href="#" class="breadcrumbsLink">About</a>
</li>
<li class="breadcrumbsItem">Profile</li>
</ul>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<ul class="breadcrumbs">
<li class="breadcrumbsItem">
<a href="#" class="breadcrumbsLink">Home</a>
</li>
<li class="breadcrumbsItem">About</li>
</ul>
<ul class="breadcrumbs">
<li class="breadcrumbsItem">
<a href="#" class="breadcrumbsLink">Home</a>
</li>
<li class="breadcrumbsItem">
<a href="#" class="breadcrumbsLink">About</a>
</li>
<li class="breadcrumbsItem">Profile</li>
</ul>
</div>
</xmp>
</code>
</pre>
<!-- arrowBreadcrumbs -->
<div class="content">
<ul class="breadcrumbs">
<li class="breadcrumbsItem arrow">
<a href="#" class="breadcrumbsLink">Home</a>
</li>
<li class="breadcrumbsItem arrow">About</li>
</ul>
<ul class="breadcrumbs">
<li class="breadcrumbsItem arrow">
<a href="#" class="breadcrumbsLink">Home</a>
</li>
<li class="breadcrumbsItem arrow">
<a href="#" class="breadcrumbsLink">About</a>
</li>
<li class="breadcrumbsItem arrow">Profile</li>
</ul>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<ul class="breadcrumbs">
<li class="breadcrumbsItem arrow">
<a href="#" class="breadcrumbsLink">Home</a>
</li>
<li class="breadcrumbsItem arrow">About</li>
</ul>
<ul class="breadcrumbs">
<li class="breadcrumbsItem arrow">
<a href="#" class="breadcrumbsLink">Home</a>
</li>
<li class="breadcrumbsItem arrow">
<a href="#" class="breadcrumbsLink">About</a>
</li>
<li class="breadcrumbsItem arrow">Profile</li>
</ul>
</div>
</xmp>
</code>
</pre>
</section>
<!-- Buttons -->
<section class="contentContainer">
<div id="mainButtons" class="container">
<h1>Buttons</h1>
<h3>
Displays collapsible content panels for presenting information in
a limited amount of space.
</h3>
<h2>Primary Buttons</h2>
<p>
There are five variations of a standard sized primary buttons i.e <strong>Solid</strong>,
<strong>Outlined</strong>, <strong>Text</strong>, <strong>TextIcon</strong>.
</p>
</div>
<div class="content flexRow">
<button class="btn btnSolidPrimary">Primary Solid</button>
<button class="btn btnOutlinedPrimary">Primary Outlined</button>
<button class="btnText btnTextPrimary">Primary Text</button>
<button class="btn btnIconPrimary"><span class="btnIcon"><i class="fas fa-bookmark"></i></span></button>
<button class="btn btnTextIconPrimary"><span class="btnIcon"><i
class="far fa-bookmark"></i></span>Bookmark</button>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<button class="btn btnSolidPrimary">Primary Solid</button>
<button class="btn btnOutlinedPrimary">Primary Outlined</button>
<button class="btnText btnTextPrimary">Primary Text</button>
<button class="btn btnIconPrimary"><span class="btnIcon"><i class="fas fa-bookmark"></i></span></button>
<button class="btn btnTextIconPrimary"><span class="btnIcon"><i class="far fa-bookmark"></i></span>Bookmark</button>
</xmp>
</code>
</pre>
<div class="container">
<h2>Secondary Buttons</h2>
<p>
There are five variations of a standard sized secondary buttons also i.e <strong>Solid</strong>,
<strong>Outlined</strong>, <strong>Text</strong>, <strong>TextIcon</strong>.
</p>
</div>
<div class="content flexRow">
<button class="btn btnSolidSecondary">Secondary Solid</button>
<button class="btn btnOutlinedSecondary">Secondary Outlined</button>
<button class="btnText btnTextSecondary">Secondary Text</button>
<button class="btn btnIconSecondary"><span class="btnIcon"><i class="fas fa-bookmark"></i></span></button>
<button class="btn btnTextIconSecondary"><span class="btnIcon"><i
class="far fa-bookmark"></i></span>Bookmark</button>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<button class="btn btnSolidSecondary">Secondary Solid</button>
<button class="btn btnOutlinedSecondary">Secondary Outlined</button>
<button class="btnText btnTextSecondary">Secondary Text</button>
<button class="btn btnIconSecondary"><span class="btnIcon"><i class="fas fa-bookmark"></i></span></button>
<button class="btn btnTextIconSecondary"><span class="btnIcon"><i class="far fa-bookmark"></i></span>Bookmark</button>
</xmp>
</code>
</pre>
</section>
<!-- Carousel -->
<section class="contentContainer">
<div id="mainCarousel" class="container">
<h1>Carousel</h1>
<h3>
A slideshow component for cycling through elements-images or slides of text-like a carousel.
</h3>
</div>
<div class="content">
<div id="slider">
<input type="radio" name="slider" id="s1">
<input type="radio" name="slider" id="s2">
<input type="radio" name="slider" id="s3" checked>
<input type="radio" name="slider" id="s4">
<input type="radio" name="slider" id="s5">
<label for="s1" id="slide1">
<img src="./assets/img1.jpg" height="100%" width="100%">
</label>
<label for="s2" id="slide2">
<img src="./assets/img2.jpg" height="100%" width="100%">
</label>
<label for="s3" id="slide3">
<img src="./assets/img3.jpg" height="100%" width="100%">
</label>
<label for="s4" id="slide4">
<img src="./assets/img4.jpg" height="100%" width="100%">
</label>
<label for="s5" id="slide5">
<img src="./assets/img5.jpg" height="100%" width="100%">
</label>
</div>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<div id="slider">
<input type="radio" name="slider" id="s1">
<input type="radio" name="slider" id="s2">
<input type="radio" name="slider" id="s3" checked>
<input type="radio" name="slider" id="s4">
<input type="radio" name="slider" id="s5">
<label for="s1" id="slide1">
<img src="./assets/img1.jpg" height="100%" width="100%">
</label>
<label for="s2" id="slide2">
<img src="./assets/img2.jpg" height="100%" width="100%">
</label>
<label for="s3" id="slide3">
<img src="./assets/img3.jpg" height="100%" width="100%">
</label>
<label for="s4" id="slide4">
<img src="./assets/img4.jpg" height="100%" width="100%">
</label>
<label for="s5" id="slide5">
<img src="./assets/img5.jpg" height="100%" width="100%">
</label>
</div>
</xmp>
</code>
</pre>
</section>
<!-- Dropdowns -->
<section class="contentContainer">
<div id="mainDropdowns" class="container ">
<h1>Dropdowns</h1>
<h3>
Dropdowns are toggleable, contextual overlays for displaying lists of links and more.They’re toggled by
hovering.
</h3>
<h2>Example</h2>
</div>
<div class="content vh50">
<div class="dropContainer mainDropMobile">
<div class="dropItem dropItemMobile">
Home
<div class="dropItemGroup">
<a href="#" class="dropItem dropItemMobile">Link</a>
<a href="#" class="dropItem dropItemMobile">Cart</a>
<a href="#" class="dropItem dropItemMobile">Bill</a>
</div>
</div>
<div class="dropItem dropItemMobile">
Tutorials
<div class="dropItemGroup ">
<a href="#" class="dropItem dropItemMobile">HTML</a>
<a href="#" class="dropItem dropItemMobile">CSS</a>
<a href="#" class="dropItem dropItemMobile">JS</a>
</div>
</div>
<div class="dropItem dropItemMobile">
About
<div class="dropItemGroup">
<a href="#" class="dropItem dropItemMobile">Head</a>
<a href="#" class="dropItem dropItemMobile">Body</a>
<a href="#" class="dropItem dropItemMobile">Foot</a>
</div>
</div>
</div>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<div class="dropContainer">
<div class="dropItem">
Home
<div class="dropItemGroup">
<a href="#" class="dropItem">Home1</a>
<a href="#" class="dropItem">Home2</a>
<a href="#" class="dropItem">Home3</a>
</div>
</div>
<div class="dropItem">
Video Tutorials
<div class="dropItemGroup">
<a href="#" class="dropItem">HTML</a>
<a href="#" class="dropItem">CSS</a>
<a href="#" class="dropItem">JavaScript</a>
</div>
</div>
<div class="dropItem">
About
<div class="dropItemGroup">
<a href="#" class="dropItem">About1</a>
<a href="#" class="dropItem">About2</a>
<a href="#" class="dropItem">About3</a>
</div>
</div>
</div>
</xmp>
</code>
</pre>
</section>
<!-- Modal -->
<section class="contentContainer">
<div id="mainModal" class="container">
<h1>Modal</h1>
<h3>
Modals are built with HTML, CSS, and JavaScript. They’re positioned over everything else in the document.
Modals use <strong>position: fixed</strong> , so whenever possible, place your modal HTML in a top-level
position to avoid potential interference from other elements.
</h3>
<h2>Example</h2>
<p>
Toggle a working modal demo by clicking the button below. It will slide down and fade in from the center of
the page.
</p>
</div>
<div class="content alignCenter">
<button class="btn btnSolidPrimary modalTrigger">Show Modal</button>
<div class="modalBg">
<div class="modal">
<div class="modalHead">
<h1>Delete record(s)?</h1>
<button class="btn btnIcon crossBtn"><i class="fas fa-times"></i></button>
</div>
<div class="modalContent">
<p>You'll lose your record(s) after this action. We can't recover them once you delete.</p>
<p>Are you sure you want to permanently delete them?</p>
</div>
<div class="modalFooter">
<button class="btn btnOutlinedSecondary modalBtn cancelBtn">Cancel</button>
<button class="btn btnSolidPrimary modalBtn deleteBtn delMessg">Delete</button>
</div>
</div>
</div>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<button class="btn btnSolidPrimary modalTrigger">Show Modal</button>
<div class="modalBg">
<div class="modal">
<div class="modalHead">
<h1>Delete record(s)?</h1>
<button class="btn btnIcon crossBtn"><i class="fas fa-times"></i></button>
</div>
<div class="modalContent">
<p>You'll lose your record(s) after this action. We can't recover them once you delete.</p>
<p>Are you sure you want to permanently delete them?</p>
</div>
<div class="modalFooter">
<button class="btn btnOutlinedSecondary modalBtn cancelBtn">Cancel</button>
<button class="btn btnSolidPrimary modalBtn deleteBtn success">Delete</button>
</div>
</div>
</div>
</xmp>
</code>
</pre>
</section>
<!-- Toasts -->
<section class="contentContainer">
<div id="mainToasts" class="container">
<h1>Toasts</h1>
<h3>
Toasts are lightweight notifications designed to mimic the push notifications that have been popularized by
mobile and desktop operating systems.
</h3>
<h2>Examples</h2>
<p>
We have three variants of Toasts-<strong>success</strong>, <strong>warning</strong> and
<strong>danger</strong> .
</p>
</div>
<div class="content flexRow">
<button class="btn btnSolid btnSolidPrimary success">Show success</button>
<button class="btn btnSolid btnSolidPrimary warning">Show warning</button>
<button class="btn btnSolid btnSolidPrimary error">Show error</button>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<button class="success">Show success</button>
<button class="warning">Show warning</button>
<button class="error">Show error</button>
</xmp>
</code>
</pre>
</section>
<!-- Forms -->
<!-- Form Control -->
<section class="contentContainer">
<div id="mainFormControl" class="container">
<h1>Form Control</h1>
<h3>
Forms are the standard way to receive user inputted data. Text fields allow user input.
<strong>.formControl</strong> can apply to all the required styling to the "div" element.
</h3>
<h2>Example</h2>
<p>
A simple input filed have three variations- <strong>normal</strong>, <strong>readonly</strong> and
<strong>disabled</strong> .
</p>
</div>
<div class="content">
<form class="form">
<div class="formControl">
<label for="username">Username</label>
<input type="text" placeholder="Normal Input" />
</div>
<div class="formControl">
<label for="username">Username</label>
<input type="text" placeholder="Readonly" readonly />
</div>
<div class="formControl">
<label for="username">Username</label>
<input type="text" placeholder="Disabled" disabled />
</div>
</form>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<form id="form" class="form">
<div class="formControl">
<label for="username">Username</label>
<input type="text" placeholder="Normal Input" />
</div>
<div class="formControl">
<label for="username">Username</label>
<input type="text" placeholder="Readonly" readonly />
</div>
<div class="formControl">
<label for="username">Username</label>
<input type="text" placeholder="Disabled" disabled />
</div>
</form>
</xmp>
</code>
</pre>
</section>
<!-- File Input -->
<section class="contentContainer">
<div id="mainFileInput" class="container">
<h1>File Input</h1>
<h2>Example</h2>
<p>
This is a customised file input/upload button.
</p>
</div>
<div class="content">
<div class="fileInputContainer ">
<input class="fileInput" type="file" name="myFile[]" id="myFile" multiple>
<button class="btn btnSolidPrimary fileInputButton" type="button">Choose File(s)</button>
<span class="fileInputLabel "></span>
</div>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<div class="fileInputContainer ">
<input class="fileInput" type="file" name="myFile[]" id="myFile" multiple>
<button class="btn btnSolidPrimary fileInputButton" type="button">Choose File(s)</button>
<span class="fileInputLabel "></span>
</div>
</xmp>
</code>
</pre>
</section>
<!-- Select -->
<section class="contentContainer">
<div id="mainSelect" class="container">
<h1>Select</h1>
<h3>
Select allows user input through specified options.
</h3>
<h2>Example</h2>
</div>
<div class="content alignCenter">
<select class="select">
<option disabled selected>Phone</option>
<option value="Samsung">Samsung</option>
<option value="Nokia">Nokia</option>
<option value="Apple">Apple</option>
<option value="Honor">Honor</option>
</select>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<select class="select">
<option disabled selected>Phone</option>
<option value="Samsung">Samsung</option>
<option value="Nokia">Nokia</option>
<option value="Apple">Apple</option>
<option value="Honor">Honor</option>
</select>
</xmp>
</code>
</pre>
</section>
<!-- DataLists -->
<section class="contentContainer">
<div id="mainDataList" class="container">
<h1>DataList</h1>
<h3>
Datalists allow you to create a group of <strong>option</strong> elements that can be accessed (and
autocompleted) from within an <strong>input</strong> element.
</h3>
<h2>Example</h2>
</div>
<div class="content flexRow">
<div class="formControl">
<label for="myColor">Enter a color:</label>
<input type="text" name="myColor" id="myColor" list="colorList">
<datalist id="colorList">
<option value="#FF0000">Red</option>
<option value="#008000">Green</option>
<option value="#FF00FF">Fuchsia</option>
<option value="#008080">Teal</option>
</datalist>
</div>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<div class="formControl">
<label for="myColor">Enter a color:</label>
<input type="text" name="myColor" id="myColor" list="colorList">
<datalist id="colorList">
<option value="#FF0000">Red</option>
<option value="#008000">Green</option>
<option value="#FF00FF">Fuchsia</option>
<option value="#008080">Teal</option>
</datalist>
</div>
</xmp>
</code>
</pre>
</section>
<!-- Check and Radios -->
<section class="contentContainer">
<div id="mainCheckRadios" class="container">
<h1>Check and Radios</h1>
<h2>Radios</h2>
<h3>Radio Buttons are used when the user must make only one selection out of a group of items. </h3>
<h2>Example</h2>
<p>These radio buttons are customised according to our theme</p>
</div>
<div class="content alignCenter">
<div class="radioContainer">
<input type="radio" class="radioInput" value="Option1" id="meRadio1" name="meRadio">
<label for="meRadio1" class="radioLabel">Option1</label>
<input type="radio" class="radioInput" value="Option2" id="meRadio2" name="meRadio">
<label for="meRadio2" class="radioLabel">Option2</label>
<input type="radio" class="radioInput" value="Option3" id="meRadio3" name="meRadio">
<label for="meRadio3" class="radioLabel">Option3</label>
</div>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<div class="radioContainer">
<input type="radio" class="radioInput" value="Option1" id="meRadio1" name="meRadio">
<label for="meRadio1" class="radioLabel">Option1</label>
<input type="radio" class="radioInput" value="Option2" id="meRadio2" name="meRadio">
<label for="meRadio2" class="radioLabel">Option2</label>
<input type="radio" class="radioInput" value="Option3" id="meRadio3" name="meRadio">
<label for="meRadio3" class="radioLabel">Option3</label>
</div>
</xmp>
</code>
</pre>
<div class="container">
<h2>Toggle Checkbox</h2>
<p>Use checkboxes when looking for yes or no answers.</p>
</div>
<div class="content">
<label class="toggle" for="myToggle">
<input class="toggleInput" name="" type="checkbox" id="myToggle">
<div class="toggleFill"></div>
</label>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<label class="toggle" for="myToggle">
<input class="toggleInput" name="" type="checkbox" id="myToggle">
<div class="toggleFill"></div>
</label>
</xmp>
</code>
</pre>
</section>
<!-- Range -->
<section class="contentContainer">
<div id="mainRange" class="container">
<h1>Range</h1>
<h3>
Add a range slider for values with a wide range. This one is set to be a number between 0 and 100.
</h3>
</div>
<div class="content">
<div class="range">
<input type="range" min="0" max="100" value="20" oninput="rangeValue.innerText = this.value">
<p id="rangeValue">20</p>
</div>
</div>
<pre>
<code class="language-html" data-prismjs-copy="Copy" class="code">
<xmp>
<div class="slider">
<input type="range" min="0" max="100" value="20" oninput="rangeValue.innerText = this.value">
<p id="rangeValue">20</p>
</div>
</div>
</xmp>
</code>
</pre>
</section>
<!-- Form Validation -->
<section class="contentContainer">
<div id="mainFormValidation" class="container">
<h1>Form Validation</h1>
<h3>
Provide valuable, actionable feedback to your users with HTML5 form validation
</h3>
<h2>Example</h2>
</div>
<div class="content alignCenter">
<div class="formContainer">
<div class="formHeader">
<h2>Create Account</h2>
</div>
<form id="form" class="form">
<div class="formControl">
<label for="username">Username</label>
<input type="text" placeholder="youteee280" id="username" />
<i class="fas fa-check-circle"></i>
<i class="fas fa-exclamation-circle"></i>
<small>Error message</small>
</div>
<div class="formControl">
<label for="username">Email</label>
<input type="email" placeholder="a@florin-pop.com" id="email" />
<i class="fas fa-check-circle"></i>
<i class="fas fa-exclamation-circle"></i>
<small>Error message</small>
</div>
<div class="formControl">
<label for="username">Password</label>
<input type="password" placeholder="Password" id="password" />
<i class="fas fa-check-circle"></i>
<i class="fas fa-exclamation-circle"></i>
<small>Error message</small>
</div>
<div class="formControl">
<label for="username">Re-type Password</label>
<input type="password" placeholder="Password two" id="password2" />
<i class="fas fa-check-circle"></i>
<i class="fas fa-exclamation-circle"></i>
<small>Error message</small>
</div>
<button class="btn btnSolid btnSolidPrimary formButton">Submit</button>
</form>
</div>
</div>