-
Notifications
You must be signed in to change notification settings - Fork 7
/
demo.html
202 lines (202 loc) · 6.06 KB
/
demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="description" content="A beautiful alternative to CSS resets & normalisers." />
<title>Stylize.css - A beautiful alternative to CSS resets & normalisers.</title>
<link rel="stylesheet" href="stylize.css" />
</head>
<body>
<header class="wrap">
<h1>Stylize.css - Demo</h1>
<hr/>
</header>
<main class="wrap">
<p><i>Note: This page has no styles other than that in stylize.css.</i></p>
<section>
<h2>Typography:</h2>
<h1>This is a H1 heading</h1>
<h2>This is a H2 heading</h2>
<h3>This is a H3 heading</h3>
<h4>This is a H4 heading</h4>
<h5>This is a H5 heading</h5>
<h6>This is a H6 heading</h6>
<p>Pragraph text. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
<div class="spacer"></div>
<strong>This is a Strong / Bold text</strong>
<div class="spacer"></div>
<i>This is an Emphasized / Italic text</i>
<div class="spacer"></div>
This is a <mark>Marked / Highlighted</mark> text</mark>
<div class="spacer"></div>
<small>This is a Small text</small>
<div class="spacer"></div>
This is a <del>Deleted</del> text
<div class="spacer"></div>
This is a <ins>Underlined / Inserted</ins> text
<div class="spacer"></div>
This is a <sub>Subscript</sub> text
<div class="spacer"></div>
This is a <sup>Superscript</sup> text
<div class="spacer"></div>
<pre>This is a preformatted text.</pre>
<blockquote>This is a Blockquote.</blockquote>
<samp>This is a sample output.</samp>
<div class="spacer"></div>
This is the <code><code></code> & <kbd>kbd</kbd>
<div class="spacer"></div>
<h3>Links & navigation:</h3>
<nav>
<a href="#">Nav Link 1</a>
<a href="#">Nav Link 2</a>
<div class="right">
<a href="#">Nav Link 3</a>
</div>
</nav>
<div class="spacer"></div>
<div class="spacer"></div>
<a href="#">Normal link</a>
</section>
<section>
<h2>Lists:</h2>
<ul>
<li>Unordered list item 1</li>
<li>Unordered list item 2</li>
<ul>
<li>Unordered list item 3</li>
</ul>
<li>Unordered list item 4</li>
<li>Unordered list item 5</li>
</ul>
<ol>
<li>Ordered list item 1</li>
<li>Ordered list item 2</li>
<ol>
<li>Ordered list item 3</li>
</ol>
<li>Ordered list item 4</li>
<li>Ordered list item 5</li>
</ol>
</section>
<section>
<h2>Form:</h2>
<fieldset>
<legend>This is a legend on fieldset</legend>
<form>
<div class="spacer"></div>
<label>Label:</label>
<input type="text" placeholder="Text field" />
<div class="spacer"></div>
<label>Select box:</label>
<select>
<optgroup label="Option group">
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
</optgroup>
</select>
<div class="spacer"></div>
<label>Numeric Field:</label>
<input type="number" placeholder="Number" value="0"/>
<div class="spacer"></div>
<label>Checkboxes:</label>
<label>Option 1 <input type="checkbox" checked /></label>
<label>Option 2 <input type="checkbox" /></label>
<div class="spacer"></div>
<label>Radio buttons:</label>
<label>Yes <input type="radio" checked/></label>
<label>No <input type="radio" /></label>
<div class="spacer"></div>
<textarea placeholder="Textarea" rows="3" cols="50"></textarea>
<div class="spacer"></div>
<input type="submit" value="Submit button" />
</form>
</fieldset>
<div class="spacer"></div>
<button>Button</button>
<a href="javascript:void(0)" role="button">Anchor role=button</a>
<input type="button" value="Input type=button" />
<button disabled>Button</button>
<div class="spacer"></div>
<label>Progress bar</label>
<progress value="22" max="100"></progress>
</section>
<section>
<h2>Table:</h2>
<table>
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Username</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<th>1</th>
<td>Vasanth</td>
<td>@vsnthv</td>
<td>Chennai, India</td>
</tr>
<tr>
<th>2</th>
<td>John</td>
<td>@john</td>
<td>USA</td>
</tr>
<tr>
<th>3</th>
<td>Chan</td>
<td>@chan</td>
<td>Hong Kong</td>
</tr>
</tbody>
</table>
<p>Table with <code>border=1</code></p>
<table border="1">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Username</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<th>1</th>
<td>Vasanth</td>
<td>@vsnthv</td>
<td>Chennai, India</td>
</tr>
<tr>
<th>2</th>
<td>John</td>
<td>@john</td>
<td>USA</td>
</tr>
<tr>
<th>3</th>
<td>Chan</td>
<td>@chan</td>
<td>Hong Kong</td>
</tr>
</tbody>
</table>
</section>
<section>
<h2>Utility classes:</h2>
<p>Apart from this, stylize.css comes with few utility classes as below.</p>
<pre><div class="left"> <!-- Float left any element --></pre>
<pre><div class="right"> <!-- Float right any element --></pre>
<pre><div class="center"> <!-- Center align text of any element --></pre>
<pre><div class="hide"> <!-- Hide any element --></pre>
<pre><div class="reset"> <!-- Resets all css of the element --></pre>
<pre><div class="clear"> <!-- Sets clear:both for the element --></pre>
<pre><div class="spacer"> <!-- Adds a breathing space between 2 elements. --></pre>
</section>
</main>
</body>
</html>