/
index.html
77 lines (62 loc) · 4.61 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="A demonstration of what can be accomplished visually through just 1 K of CSS.">
<title>CSS1K</title>
<link rel="stylesheet" href="styles/default.css">
<link rel="stylesheet alternate" href="styles/example2.css" title="Example 2" data-id="example2" data-author-name="Jacob Rask" data-author-url="http://jacobrask.net">
<link rel="stylesheet alternate" href="styles/microwave.css" title="Microwave" data-id="microwave" data-author-name="Christoph Ook" data-author-url="http://twitter.com/chrisook)">
<!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<script>
var _gaq=[['_setAccount','UA-8018150-3'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</head>
<body>
<header>
<h1>CSS1K <small>beta</small></h1>
<nav>
<h2>Select a design</h2>
<ul>
<li><a href="./">default</a>
<a href="http://jacobrask.net">Jacob Rask</a>
</ul>
</nav>
</header>
<article role="main">
<header>
<h2>The Beauty in <abbr>CSS</abbr> Design</h2>
<p>A demonstration of what can be accomplished with only 1 <abbr title="Kibibyte">K</abbr> (<dfn title="1024 bytes">Kibibyte</dfn>) of <abbr>CSS</abbr>. Select any design from the list to load it into this page.</p>
</header>
<section>
<h2>So What is This About?</h2>
<p>Back in 2003 (that's 8 years ago!) <a href="http://mezzoblue.com">Dave Shea</a> launched the <a href="http://www.csszengarden.com"><cite><abbr>CSS</abbr> Zen Garden</cite></a>. It showcased what was possible with <abbr>CSS</abbr>-based designs, leading to an explosion in the use of CSS on the web. More recently, <a href="http://qfox.nl">Peter van der Zee</a> created <a href="http://js1k.com">JS1k</a>, a competition to build cool applications with no more than 1 <abbr>K</abbr> of JavaScript.</p>
<p>At lot has happened since the Zen Garden days, and today you can do almost anything with only <abbr>CSS</abbr>. As <abbr>CSS</abbr> use is growing, so is the average <abbr>CSS</abbr> file size. Popular sites have in average <a href="http://httparchive.org/interesting.php#mostcss">27 <abbr>K</abbr> of <abbr>CSS</abbr></a>, but some use up to a megabyte of style sheets!</p>
<p>Do we need that much? <b>CSS1K</b> invites you to show that web developers are more inventive than ever, and that limitations can sparkle creativity.</p>
</section>
<section>
<h2>Participation</h2>
<ol>
<li>Submissions must consist of only <abbr>CSS</abbr>
<li>Submissions may be up to 1 <abbr title="Kibibyte">K</abbr> (1024 bytes) minified
<li>Vendor prefixes are <em>not</em> counted to the total number of bytes – submit your code unprefixed and we will add necesssary prefixes
<li>Any external resources and images, including <code>data</code> <abbr>URI</abbr>'s, <code>@font-face</code> and <code>@import</code>'s, are forbidden
<li>The page <a href="http://dowebsitesneedtolookexactlythesameineverybrowser.com">does not</a> have to look the same in every browser, but graceful degradation is encouraged
<li>The submitted code is licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a>
</ol>
<p><strong>This is a <em>beta</em> version of CSS1K, to determine if the markup and rules are ok. Markup and rules might change for the final version.</strong> Change requests and bug reports are welcome at <a href="https://github.com/jacobrask/CSS1K">GitHub</a>.</p>
<p>To participate, fork <a href="https://github.com/jacobrask/CSS1K/">CSS1K</a> at GitHub and send your submission as a pull request. You are free to update your style at any time by sending a new pull request. Please specify the name of the style, your own name, and an URL you want us to link to (such as your homepage).</p>
<p>New entries and updates will be announced by <a href="http://twitter.com/CSS1K">@CSS1K on Twitter</a>.
</section>
</article>
<footer>
<p>
Licensed under the <a href="http://www.opensource.org/licenses/mit-license.php" rel="license">MIT license</a>.
Hosted and managed at <a href="https://github.com/jacobrask/CSS1K">GitHub</a>.
</p>
</footer>
<script src="js/switcher.js"></script>
</body>
</html>