-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponents.html
127 lines (113 loc) · 3.55 KB
/
components.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
<!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">
<title>Component Library</title>
</head>
<body>
<link href="/styles.css" rel="stylesheet" />
<h1>Rahul's Component Library</h1>
<hr>
<h2>@typography</h2>
<h1>This is H1 tag.</h1>
<h2>This is h2 tag.</h2>
<h3>This is h3 tag</h3>
<H4>This is h4 tag.</H4>
<h5>This is h5 tag.</h5>
<h6>This is h6 tag.</h6>
<p>This is a Paragraph.</p>
<small> This is a small tag</small>
<hr>
<h2>@containers</h2>
<h3>Fluid Container</h3>
<div class="container">This is a fluid container and it will go till the end of the page.</div>
<h3>Center container</h3>
<div class="container container-center">This is a center container and it will go till the specified width.</div>
<hr>
<h2>@links</h2>
<a class="link link-primary" href="/">Primary Button</a>
<a class="link link-secondary" href="/">Secondary Button</a>
<hr>
<h2>@List</h2>
<ul class="list-non-bullet">
<li>Eggs</li>
<li>Milk</li>
<li>Breads</li>
</ul>
<h3>Inline Unordered list</h3>
<ul class="list-non-bullet">
<li class="list-item-inline">Inline Item One</li>
<li class="list-item-inline">Inline Item two</li>
<li class="list-item-inline">Inline Item three</li>
</ul>
<h4>For this to work you need to know CSS</h4>
<h3>Ordered list</h3>
<ol>
<li>Eggs</li>
<li>Milk</li>
<li>Breads</li>
</ol>
<h3>Reverse Order List</h3>
<ol reversed>
<li>Eggs</li>
<li>Milk</li>
<li>Breads</li>
</ol>
<hr>
<p>for CONTAINER we use DIV tags</P>
<P>for SECTION we use SECTION tags</P>
<h2>@navbar</h2>
<nav class="navigation container">
<div class="nav-brand">iAmACoder</div>
<ul class="list-non-bullet nav-pills">
<li class="list-item-inline">
<a class="link link-active" href="/">Home</a>
</li>
<li class="list-item-inline">
<a class="link " href="/">Products</a>
</li>
<li class="list-item-inline">
<a class="link " href="/">About</a>
</li>
</ul>
</nav>
<hr>
<h2>@header</h2>
<header class="header">
<img class="header-img" src="/images/header_image.svg" />
<h1 class="header-heading">Adarsh Balak <span class="heading-inverted">the web developer</span></h1>
</header>
<hr>
<h2>@Section</h2>
<section class="section">
<div class="container-center">
<h1>White Section</h1>
<p>This will have a white Background</p>
</div>
</section>
<section class="section off-white">
<div class="container-center">
<h1>Off White Section</h1>
<p>This will have a gray Background</p>
</div>
</section>
<hr>
<h2>@footer</h2>
<footer class="footer">
<div class="footer-header">Some small Heading inside footer</div>
<ul class="list-non-bullet">
<li class="list-item-inline ">
<a class="link" href="/">Google</a>
</li>
<li class="list-item-inline ">
<a class="link" href="/">Facebook</a>
</li>
<li class="list-item-inline ">
<a class="link" href="/">Twitter</a>
</li>
</ul>
</footer>
</body>
</html>