forked from jxnblk/initcss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
151 lines (150 loc) · 3.53 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
<!DOCTYPE html>
<meta charset='utf-8' />
<title>initcss</title>
<link rel='stylesheet' href='docs/normalize.css' />
<link rel='stylesheet' href='lib/init.css' />
<style>
.my { margin-top: 3rem; margin-bottom: 3rem; }
.py { padding-top: 3rem; padding-bottom: 3rem; }
a { color: #07c }
.border-gray { border-color: #ccc }
</style>
<body style='max-width: 64em; margin: auto; padding: 1.5rem;'>
<header>
<h1>initcss</h1>
<p>Smart defaults for styling websites</p>
</header>
<hr class='my border-gray' />
<main>
<blockquote>
<b>initialize |iˈniSHəˌlīz|</b>
– set to the value or put in the condition appropriate to the start of an operation
</blockquote>
<p>
Use these base styles for body, typography, buttons, and tables in combination with
<a href='//necolas.github.io/normalize.css/'>
Normalize CSS
</a>
and other libraries like
<a href='//basscss.com'>
Basscss
</a>
or
<a href='//tachyons.io'>
Tachyons
</a>
to quickly build out sites without the bloat of larger CSS frameworks.
</p>
<a href='//github.com/jxnblk/initcss'>GitHub</a>
<hr class='my border-gray' />
<h2>Typography</h2>
<h1>Hello 1</h1>
<h2>Hello 2</h2>
<h3>Hello 3</h3>
<h4>Hello 4</h4>
<h5>Hello 5</h5>
<h6>Hello 6</h6>
<ul>
<li>Two</li>
<li>Four</li>
<li>Eight</li>
<li>Sixteen</li>
<li>Thirty-Two</li>
</ul>
<ol>
<li>Two</li>
<li>Four</li>
<li>Eight</li>
<li>Sixteen</li>
<li>Thirty-Two</li>
</ol>
<blockquote>This is a blockquote</blockquote>
<pre>This is some preformatted text.</pre>
<p>
This is a <code>code</code> tag and a <samp>samp</samp> tag.
</p>
<h2>Buttons</h2>
<button>Hello</button>
<!-- Forms WIP
<hr class='my border-gray' />
<h2>Forms</h2>
<form>
<fieldset>
<legend>Legend</legend>
<label for='input'>Input</label>
<input name='input' type='text' />
<label for='textarea'>Textarea</label>
<textarea name='textarea'></textarea>
<label for='select'>Select</label>
<select name='select'>
<option value='2'>Two</option>
<option value='4'>Four</option>
<option value='8'>Eight</option>
<option value='16'>Sixteen</option>
<option value='32'>Thirty-Two</option>
</select>
<label>
<input type='checkbox' />
I would like to receive more kittens
</label>
<label>
<input name='radio' type='radio' />
Radio One
</label>
<label>
<input name='radio' type='radio' />
Radio Two
</label>
<button>Button</button>
</fieldset>
</form>
-->
<hr class='my border-gray' />
<h2>Tables</h2>
<table>
<thead>
<tr>
<th>Animal</th>
<th>Sound</th>
</tr>
</thead>
<tbody>
<tr>
<td>Cat</td>
<td>Meow</td>
</tr>
<tr>
<td>Dog</td>
<td>Woof</td>
</tr>
<tr>
<td>Cow</td>
<td>Moo</td>
</tr>
</tbody>
</table>
<hr class='my border-gray' />
<h2>Images</h2>
<img src='http://lorempixel.com/1024/576/cats/' />
</main>
<footer class='py'>
<pre>npm i initcss</pre>
<p>
<a href='http://github.com/jxnblk/initcss'>GitHub</a>
|
<a href='http://jxnblk.com'>Made by Jxnblk</a>
</p>
</footer>
<script>
/*
var form = document.querySelector('form')
var button = document.querySelector('button')
form.addEventListener('submit', function (e) {
e.preventDefault();
})
button.addEventListener('click', function (e) {
e.preventDefault();
})
*/
</script>
</body>