normalize.css/index.html
Nicolas Gallagher 03e1bf20f7 Add Digg to sites using normalize.css
Includes updating normalize.css to the latest version from 'master'.
2012-08-07 22:31:46 +01:00

112 lines
5.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Normalize.css: Make browsers render all elements more consistently.</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="container">
<div class="hgroup">
<h1><a href="https://github.com/necolas/normalize.css">normalize.css</a></h1>
<h2>A modern, HTML5-ready alternative to CSS resets</h2>
</div>
<p>Normalize.css is a customisable CSS file that makes browsers render all elements more consistently and in line with modern standards. We researched the differences between default browser styles in order to precisely target only the styles that need normalizing.</p>
<h2>What does it do?</h2>
<ul>
<li><strong>Preserves useful defaults</strong>, unlike many CSS resets.</li>
<li><strong>Normalizes styles</strong> for a wide range of HTML elements.</li>
<li><strong>Corrects bugs</strong> and common browser inconsistencies.</li>
<li><strong>Improves usability</strong> with subtle improvements.</li>
<li><strong>Explains what code does</strong> using detailed comments.</li>
</ul>
<div class="cta">
<a class="button button-main" href="https://github.com/necolas/normalize.css">View project on GitHub</a>
<a class="button" href="https://github.com/necolas/normalize.css/raw/master/normalize.css">Download</a>
<p><a href="demo.html">Check out the demo</a></p>
</div>
<div class="share-bar">
<div class="share-opt">
<a class="twitter-share-button"
href="http://twitter.com/share"
data-count="vertical"
data-text="Normalize.css: a modern HTML5-ready alternative to CSS resets"
data-via="necolas"
data-related="jon_neal">Tweet</a>
</div>
<div class="share-opt">
<div class="g-plusone" data-size="tall"></div>
</div>
<div class="share-opt">
<div class="fb-like" data-send="false" data-width="40" data-layout="box_count" data-show-faces="false"></div>
</div>
</div>
<h2>How do I use it?</h2>
<p>Normalize.css is intended to be used as an alternative to CSS resets. It's suggested that you read the <code>normalize.css</code> file and consider customising it to meet your needs. Alternatively, include the file in your project and override the defaults later in your CSS.</p>
<h2>Who uses it?</h2>
<p>
<a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap</a>,
<a href="http://html5boilerplate.com/">HTML5 Boilerplate</a>,
<a href="https://www.rdio.com/">Rdio</a>,
<a href="http://digg.com/">Digg</a>,
<a href="https://www.gov.uk/">GOV.UK</a>,
<a href="http://informationarchitects.net/">iA</a>,
<a href="http://css-tricks.com/">CSS Tricks</a>,
and many others.
</p>
<h2>Browser support</h2>
<p>Chrome, Firefox 3+, Safari 4+, Opera 10+, Internet Explorer 6+</p>
<h2>Source code</h2>
<p>Available on GitHub: <a href="https://github.com/necolas/normalize.css">necolas/normalize.css</a></p>
<pre>$ git clone git://github.com/necolas/normalize.css.git</pre>
<h2>Acknowledgements</h2>
<p>Normalize.css is a project by <a href="http://nicolasgallagher.com">Nicolas Gallagher</a> (<a href="http://twitter.com/necolas">@necolas</a>) and <a href="http://music.thewikies.com/jonneal/">Jonathan Neal</a> (<a href="http://twitter.com/jon_neal">@jon_neal</a>).</p>
<p>Detailed information on default UA styles: <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#the-css-user-agent-style-sheet-and-presentational-hints">WHATWG suggestions for rendering HTML documents</a>, <a href="http://iecss.com">Internet Explorer User Agent Style Sheets</a> and <a href="http://css-class.com/test/css/defaults/UA-style-sheet-defaults.htm">CSS2.1 User Agent Style Sheet Defaults</a></p>
</div>
<div id="fb-root"></div>
<script>
window._gaq=[['_setAccount','UA-7489188-1'],['_trackPageview']];
(function(doc, script) {
var js,
fjs = doc.getElementsByTagName(script)[0],
frag = doc.createDocumentFragment(),
add = function(url, id) {
if (doc.getElementById(id)) {return;}
js = doc.createElement(script);
js.src = url;
id && (js.id = id);
frag.appendChild(js);
};
// Google Analytics
add(('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js');
// Facebook SDK
add('//connect.facebook.net/en_US/all.js#xfbml=1', 'facebook-jssdk');
// Google+ button
add('https://apis.google.com/js/plusone.js');
// Twitter SDK
add('//platform.twitter.com/widgets.js', 'twitter-wjs');
fjs.parentNode.insertBefore(frag, fjs);
}(document, 'script'));
</script>
</body>
</html>