-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
274 lines (232 loc) · 10.9 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
<!DOCTYPE html>
<html lang='en'>
<head>
<title>CSS Bed</title>
<!-- Copy paste this to your site to get the theme -->
<!-- Copy paste this to your site to get the theme -->
<!-- Copy paste this to your site to get the theme -->
<link rel='stylesheet' href='https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/dark.css'>
<!-- Copy paste end -->
<!-- Copy paste end -->
<!-- Copy paste end -->
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel="shortcut icon" href="/iconfinder_bed_415896.png">
<meta name="description" content="Classless CSS snippet gallery. A less ugly way to start a web page." />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-4533496-16']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<main>
<h1><a href="/">CSS Bed</a></h1>
<p>
This is a collection of <a href="https://medium.com/@ubershmekel/the-next-css-frontier-classless-5e66f3f25fdd">classless</a> css themes to use as starting points in web development.
</p>
<p>
<a href="https://github.com/ubershmekel/cssbed">Source behind this one.</a>
</p>
<h2>How do I get this theme?</h2>
<p>
Paste into your website's <head> <a href="snippet.txt">this snippet</a>.
</p>
<h2>See this same page in a different classless theme</h2>
<!-- options -->
<ul>
<li><a href="/HTML only">HTML only</a>
<li><a href="/awsm.css">awsm.css</a>
<li><a href="/bahunya">bahunya</a>
<li><a href="/bamboo">bamboo</a>
<li><a href="/bootstrap">bootstrap</a>
<li><a href="/evenbettermotherfucking">evenbettermotherfucking</a>
<li><a href="/holiday.css">holiday.css</a>
<li><a href="/kacit">kacit</a>
<li><a href="/marx">marx</a>
<li><a href="/meyer">meyer</a>
<li><a href="/minicss">minicss</a>
<li><a href="/no-class">no-class</a>
<li><a href="/pico.css">pico.css</a>
<li><a href="/sakura">sakura</a>
<li><a href="/sakura-vader">sakura-vader</a>
<li><a href="/simple.css">simple.css</a>
<li><a href="/stylize.css">stylize.css</a>
<li><a href="/tacit">tacit</a>
<li><a href="/thebestmotherfucking">thebestmotherfucking</a>
<li><a href="/tufte">tufte</a>
<li><a href="/vanillacss">vanillacss</a>
<li><a href="/w3c-chocolate">w3c-chocolate</a>
<li><a href="/w3c-traditional">w3c-traditional</a>
<li><a href="/water.css-dark">water.css-dark</a>
<li><a href="/water.css-light">water.css-light</a>
<li><a href="/writ">writ</a>
<li><a href="/yorha">yorha</a>
</ul>
<!-- options -->
<h2>Why use classless themes?</h2>
<ul>
<li>Responsive</li>
<li>Good browser support</li>
<li>Beautiful</li>
<li>Small size (< a few kb) - you don't waste bytes on every widget imaginable</li>
<li>No learning curve - use HTML as you would normally instead of going to the docs to learn which class does
what and having to fight the framework otherwise.</li>
<li><a href="https://news.ycombinator.com/item?id=19593866">Original Hacker News Thread</a></li>
</ul>
<h2>Is it responsive?</h2>
<p>
<strong>Heck yeah!</strong> It doesn't include any fancy styles so it's easily mobile responsive.
Just add the famous <a href='https://www.w3schools.com/css/css_rwd_viewport.asp'>responsive viewport tag</a> and
you'll be good to go!
</p>
<p>
In fact, try resizing this page. Everything flows super nicely as you'll see.
</p>
<h2>Element demos</h2>
<p>
This is supposed to be a demo page so we need more elements!
</p>
<h3>Form elements</h3>
<form onsubmit="return false;">
<label for='email'>Email</label>
<input type='email' name='email' id='email' placeholder='[email protected]'>
<label for='id'>User id (read only)</label>
<input readonly name='id' id='id' value='04D6H89Z'>
<label for='disabled'>Random disabled input</label>
<input disabled name='disabled' id='disabled' placeholder='Because why not?'>
<label for='about'>About me</label>
<textarea name='about' id='about' placeholder='I am a textarea...'></textarea>
<label>Choose a radio:</label>
<div>
<input type='radio' id='john' name='drone' value='john' checked>
<label for='john'>John Doe</label>
</div>
<div>
<input type='radio' id='jane' name='drone' value='jane' checked>
<label for='jane'>Jane Doe</label>
</div>
<div>
<input type='radio' id='johnny' name='drone' value='johnny' checked>
<label for='johnny'>Johnny Doe</label>
</div>
<br>
<label>Checkboxes</label>
<div>
<input type='checkbox' name='unchecked' id='unchecked'>
<label for='unchecked'>Unchecked</label>
<input type='checkbox' name='remember' id='remember' checked>
<label for='remember'>Remember me</label>
</div>
<input type='submit'>
</form>
<h3>Code</h3>
<p>
Below is some code, you can copy it with <kbd>Ctrl-C</kbd>.
Did you know, <code>alert(1)</code> can show an alert in JavaScript!
</p>
<pre><code>// This logs a message to the console<br>console.log('Hello, world!')</code></pre>
<h3>Other</h3>
<p>Here's a horizontal rule and image because I don't know where else to put them.</p>
<img src='https://i.imgur.com/mOq7DbU.jpg' alt='Example kitten'>
<hr>
<p>
This is a <button>button</button> or a more formal <button>OK</button>
</p>
<blockquote>This is a blockquote</blockquote>
<pre>
Good old preformatted text, no code at all
|\_/| **************************** (\_/)
/ @ @ \ * "Purrrfectly pleasant" * (='.'=)
( > º < ) * Poppy Prinz * (")_(")
`>>x<<´ * ([email protected]) *
/ O \ ****************************
</pre>
<p>And here's a nicely marked up table!</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Quantity</th>
<th>Price</th>
</tr>
</thead>
<tbody>
<tr>
<td>Godzilla</td>
<td>2</td>
<td>$299.99</td>
</tr>
<tr>
<td>Mozilla</td>
<td>10</td>
<td>$100,000.00</td>
</tr>
<tr>
<td>Quesadilla</td>
<td>1</td>
<td>$2.22</td>
</tr>
</tbody>
</table>
<h3>Typography</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque dictum hendrerit velit, quis ullamcorper sem
congue ac. Quisque id magna rhoncus, sodales massa vel, vestibulum elit. Duis ornare accumsan egestas. Proin
maximus lacus interdum leo molestie convallis. Orci varius natoque penatibus et magnis dis parturient montes,
nascetur ridiculus mus. Ut iaculis risus eu felis feugiat, eu mollis neque elementum. Donec interdum, nisl id
dignissim iaculis, felis dui aliquet dui, non fermentum velit lectus ac quam. Class aptent taciti sociosqu ad
litora torquent per conubia nostra, per inceptos himenaeos.
<strong>This is strong,</strong> this is normal, <b>this is just bold,</b> <em>and this is emphasized!</em> And
heck, <a href='/'>here</a>'s a link.
</p>
<blockquote cite='https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote'>
"The HTML blockquote Element (or HTML Block Quotation Element) indicates
that the enclosed text is an extended quotation. Usually, this is
rendered visually by indentation (see
<a
href='https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote#Usage_notes'>Notes</a>
for how to change it). A URL for the source of the quotation may be given using the
<code>cite</code> attribute, while a text representation of the source
can be given using the <code><cite></code> cite element."
<footer>
<cite>MDN, "The Block Quotation element"</cite>
</footer>
</blockquote>
<ul>
<li>Unordered list item 1</li>
<li>Unordered list item 2</li>
<li>Unordered list item 3</li>
</ul>
<ol>
<li>Ordered list item 1</li>
<li>Ordered list item 2</li>
<li>Ordered list item 3</li>
</ol>
<p>
Links with <code>mailto:</code>, <code>tel:</code>, <code>sms:</code> addresses might be styled...
</p>
<address>
<a href='mailto:[email protected]'>[email protected]</a><br />
<a href='tel:778-330-2389'>778-330-2389</a><br />
<a href='sms:666-666-6666'>666-666-6666</a><br />
</address>
<h1>Heading 1</h1>
<p>A paragraph <code><p></code> of lorem ipsum after the heading. Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.</p>
<h2>Heading 2</h2>
<p>A paragraph <code><p></code> of lorem ipsum after the heading. Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.</p>
<h3>Heading 3</h3>
<p>A paragraph <code><p></code> of lorem ipsum after the heading. Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.</p>
<h4>Heading 4</h4>
<p>A paragraph <code><p></code> of lorem ipsum after the heading. Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.</p>
<h5>Heading 5</h5>
<p>A paragraph <code><p></code> of lorem ipsum after the heading. Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.</p>
<h6>Heading 6</h6>
<p>A paragraph <code><p></code> of lorem ipsum after the heading. Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.</p>
</main>
</body>
</html>