Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: h5bp/html5-boilerplate
base: master
...
head fork: paulirish/html5-boilerplate
compare: v1.0
  • 1 commit
  • 7 files changed
  • 0 commit comments
  • 1 contributor
View
228 README.md
@@ -1,228 +0,0 @@
-# HTML5 Boilerplate [http://html5boilerplate.com](http://html5boilerplate.com)
-
-## Changelog:
-
-### v.1.0 : March 21st, 2010
-
-#### Build Script
-<ul>
- <li>Files linked via @import will be inlined into the files they are imported to using Corey Hart's CSS Compressor.</li>
- <li>Environments are definable.</li>
- <li>htaccess Expires headers are upgraded to 1year, as the filenames are revved</li>
- <li>Massive rewrite so you can define which HTML, CSS, JS files to operate on in your configurable project.properties files. This allows you to let the build script operate on very unique folder architecture, including non-H5BP projects.</li>
- <li>Added a source directory option in the build config, so your source files can be in a different directory from the final generated files (useful for other CMSes/frameworks like Django). </li>
-</ul>
-
-#### index.html
-<ul>
- <li>We use a <a href="http://paulirish.com/2010/the-protocol-relative-url/">protocol-relative url</a> for the jQuery include, to prevent the mixed content warning.</li>
- <li>The order of <code>&lt;meta></code> tags, <code>&lt;title></code>, and charset has been <a href="https://github.com/paulirish/html5-boilerplate/wiki/The-markup ">documented more extensively now</a>. TL;DR: You are <a href="https://github.com/paulirish/html5-boilerplate/commit/4b67ea5cabb8c2b75faf2e255344cdffdf190464">safe to use the boilerplate's order of tags</a>.</li>
- <li>We've shortened up the Google Analytics snippet.</li>
- <li>Added an ARIA <code>role</code> attribute to <code>div#main</code>. This assumes your main content goes within that container.</li>
- <li>IE9 doesn't get it's own conditional class! Yay!</li>
-</ul>
-
-#### style.css
-<ul>
- <li>Added <code>.focusable</code> helper class that extends <code>.visuallyhidden</code> to allow the element to be focusable when navigated to via the keyboard.</li>
- <li>Anchor links are no longer reset. Basically our reset is the effectively merged with Eric Meyer's recent CSS reset update and also the HTML5 Doctor reset.</li>
- <li>An unordered list within a nav element will no longer have a margin.</li>
- <li>All helper classes are now after primary styles to ensure correct overrides and not be burdened with resets. </li>
- <li><code>.visuallyhidden</code> is no longer camelCase, as to be consistent with other classname formats.</li>
- <li>Updated the specificity of <code>.visuallyhidden</code> rule to make sure it overrides all other declarations. </li>
- <li>Removed reset on image elements within table cells as they look ugly alongside multiline texts. Browsers default to baseline alignment for images which works better than top alignment.</li>
- <li>Increased margin-left on ol, to allow for 2-digit list numbers.</li>
- <li>Added a print reset on IE's proprietary filters.</li>
- <li>Print styles no longer prints hash links or javascript links.</li>
- <li>Updated sub/sup css to make them not be impacted by line-height, so now you can do sub/superscripts without worrying.</li>
-</ul>
-
-#### Project
-<ul>
- <li>Added a <a href="http://humanstxt.org">humans.txt</a> so you can clarify authorship and tools used</li>
- <li>Removed YUI profiling. You probably weren't using it anyway.</li>
- <li>Removed QUnit's unit tests. There is no need to ship with them, really.</li>
-</ul>
-
-#### Webserver Configs
-#### .htaccess
-<ul>
- <li>.htaccess is far more documented now. Take a read through it!</li>
- <li><a href="https://github.com/paulirish/html5-boilerplate/commit/37b5fec090d00f38de64b591bcddcb205aadf8ee">Changed mimetype of .ico files to "image/x-icon"</a>.</li>
- <li>HTML Manifest files now use <code>.appcache</code> extension instead of <code>.manifest</code>, as per <a href="http://html5.org/r/5812">http://html5.org/r/5812</a>.</li>
- <li>Force deflate for accept-encoding headers mangled by turtle tappers, courtesy of <a href="http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping/">Yahoo!'s research</a></li>
- <li>We nerfed some of the directives in case you're on server without <code>mod_headers</code>. (Which is totally crazy, man)</li>
- <li>Block access to .git and .svn folders.</li>
- <li>Eradicating Chrome's console warning on WOFF font downloads.</li>
- <li>More optimizations available if you set the .htaccess details up in your httpd.conf</li>
- <li>.htaccess now caches .htc files</li>
-
- <li>Moved all server configurations (except apache's .htaccess) over to <a href ="https://github.com/paulirish/html5-boilerplate-server-configs">the new html5-boilerplate-server-configs repo</a>. Head over there if you are not using Apache. </li>
-
- <li>Updated <code>.htaccess</code> and <code>mime.types</code> for ogg formats.</li>
- <li>Fixed regression where EOT fonts had been excluded from DEFLATE compression</li>
- <li>Apache version independence: Use <code>mod_filter</code> for compression, with fallback to AddOutputFilterByType directive for legacy versions</li>
- <li>Added plugin/extension mime types for Safari, Chrome, Firefox</li>
-</ul>
-#### nginx
-<ul>
- <li>Cleaned up cache expires directives.</li>
- <li>Now includes SVG and font formats for gzipping.</li>
- <li>expires header bug fixed.</li>
-</ul>
-#### IIS
-<ul>
- <li>Added Flash video mime types to IIS server</li>
- <li>Fixed some mimetype weirdness that was preventing proper caching</li>
-</ul>
-
-<ul>
- <li>Also Google App Engine, Lighttpd, and NodeJS <a href="https://github.com/paulirish/html5-boilerplate-server-configs">configurations were added</a></li>
-</ul>
-
-<p>Basically a lot of great updates were made for 1.0. <a href="https://github.com/paulirish/html5-boilerplate/compare/v0.9.5...v1.0">Here are all 220 commits since last release.</a>. You may ask though, <a href="http://html5boilerplate.com/docs/#FAQs★do-i-need-to-upgrade-my-sites-to-a-new-version">do I need to upgrade existing sites</a>? Short answer: nah, you're good.</p>
-
-#### Contributors
-[Mickael Daniel](http://blog.mklog.fr/), Dave Kirk, [Jonathan Verrecchia](http://www.html5-css3.fr/), [nlogax](https://github.com/nlogax), [Rob Larsen](http://htmlcssjavascript.com/),
-[David Murdoch](http://www.vervestudios.co/), [AD7six](http://www.ad7six.com/),
-[Mathias Bynens](http://mathiasbynens.be/), [Michael van Laar](http://www.michael-van-laar.de/), [Mike West](http://mikewest.org/), [Mikko Tikkanen](http://www.mintusability.com/), [Velir](http://velir.com/), [Stephen Gariepy](http://garowetz.ca/)
-
-##### Boilerplate
-[Adam J. McIntyre](http://www.amodernfable.com/), [Adeel Ejaz](http://adeelejaz.com/), akolesnikov, [Alex Dunae](http://dialect.ca/), [Andrew Le](http://andrewdle.com/), [ashnur](https://github.com/ashnur), [Ben Truyman](http://bentruyman.com/), [Bruno Aguirre](http://brunoaguirre.com/), [Chris Hager](http://metachris.org/), [Corey Ward](http://blog.coreyward.net/), [Craig Barnes](https://github.com/craigbarnes), crappish, [Daniel Schildt](http://autiomaa.org/), [Dave DeSandro](https://github.com/daveatnclud), [Dustin Whittle](http://dustinwhittle.com/), grigio, [Irakli Nadareishvili](http://freshblurbs.com/), [Jaime Bueza](http://jaime.bueza.com/), [Jake Ingman](https://github.com/jingman), [James A. Rosen](http://jamesarosen.com/), [Jeremy Balch](https://github.com/balchjd), [joe bartlett](http://twitter.com/jdbartlett), [Joe Sak](http://www.joesak.com/), [John Bacon](https://github.com/johnbacon)
-[Jonathan Fielding](https://github.com/jonathan-fielding), [Jonathan Neal](http://iecss.com/), [kblomqvist](https://github.com/kblomqvist), [Kenneth Nordahl](http://nordahl.me/), [Maarten Verbaarschot](https://github.com/mverbaar), [Manuel Strehl](http://www.manuel-strehl.de/), [Marcel Turi](http://marcel.turi.co/), [Martin Hintzmann](https://github.com/Hintzmann), [mikealmond](https://github.com/mikealmond)
-[mikkotikkanen](http://www.mintusability.com/), [Nic Pottier](https://github.com/nicpottier), [Paul Neave](http://www.neave.com/), [Peter Beverloo](http://peter.sh/), [Rick Waldron](http://weblog.bocoup.com/), [Rob Flaherty](http://www.ravelrumba.com/), [S Anand](http://www.s-anand.net/), [Sam Sherlock](http://samsherlock.com/), [Michael Cetrulo](http://www.linkedin.com/in/web2samus), [simshaun](https://github.com/simshaun), [Sirupsen](http://sirupsen.com/), [Stephen Gariepy](http://garowetz.ca/), [timemachine3030 ](https://github.com/timemachine3030), [Vinay](http://www.artminister.com/), [Weston Ruter](http://weston.ruter.net/), [WraithKenny](http://unfocus.com/), [Yann Mainier](http://yann.mainier.com/), [Michael van Laar](http://www.michael-van-laar.de/), [Massimo Lombardo](http://unwiredbrain.com/), [Ivan Nikolić ](http://twitter.com/niksy), [Kaelig](http://kaelig.fr/), [Richard Bradshaw](http://bradshawenterprises.com/), [SammyK](http://sammyk.me/), [alrra](https://github.com/alrra), [Rizky Syazuli](http://id.linkedin.com/in/rizky), [iszak](https://github.com/Iszak), [aaron peters](https://github.com/aaronpeters), [Swaroop C H](http://www.swaroopch.com/), [Mike Połtyn](http://mike.poltyn.com/), Marco d'Itri, Mike Lamb , [BIG Folio](http://bigfolio.com/), Philip von Bargen, Meander, Daniel Harttman, rse, timwillison, ken nordahl, [Erik Dahlström](http://my.opera.com/macdev_ed), christopherjacob, [Chew Choon Keat](http://blog.choonkeat.com/), benalman, stoyan, Markus, [Vladimir Carrer](http://www.vcarrer.com/), [aristidesfl](https://github.com/aristidesfl), [Trevor Norris](http://blog.trevorjnorris.com/)
-
-
-
-#####Configs
-[Dusan Hlavaty](http://sk.linkedin.com/in/dusanhlavaty), [Sean Caetano Martin](http://www.xonecas.com/), [yaph](http://www.ramiro.org/), [michaud](https://github.com/michaud), Paul Sarena, [Graham Weldon](http://grahamweldon.com/), [Ron. Adams](http://visual-assault.org/)
-
-#####Translators
-[alrra](http://twitter.com/alrra), [Anton Kovalyov](http://self.kovalyov.net/), [Milos Gavrilovic](http://www.arvag.net/), [jorge-vitrubio](https://github.com/jorge-vitrubio), Julian Wachholz, [laviperchik](https://github.com/laviperchik), [lenzcom](https://github.com/lenzcom), [Mathias Bynens](http://mathiasbynens.be/), [Mickael Daniel](http://blog.mklog.fr/), [Mike West](http://mikewest.org/), [Niels Bom](http://www.nielsbom.com/), Ricardo Tomasi, [skill83 ](https://github.com/skill83), [Sean Caetano Martin](http://www.xonecas.com/), [Yuya Saito](http://css.studiomohawk.com/), [Zee-Julien](https://github.com/Zee-Julien)
-
-
-### v.0.9.5 : October 25th, 2010
-
-Major changes:
-
-<ul>
-<li>Removed <code>-webkit-font-smoothing: antialiased;</code> it makes monospace too thin.</li>
-<li>IE conditional classes have moved from the <code>&lt;body&gt;</code> tag to the <code>&lt;html&gt;</code> tag ( #44 ).</li>
-<li>Dropped <code>text-rendering: <a href="http://www.aestheticallyloyal.com/public/optimize-legibility/">optimizeLegibility</a></code> as it breaks small-caps, looks odd on Linux machines, and goes invisible on WebOS.</li>
-<li>Added a IE6 call for the minified <code>dd_belatedpng</code>.</li>
-<li>Revised viewport declaration to allow user scaling and clear Webkit console errors ( #37 ).</li>
-<li>Updated Modernizr to 1.6 </li>
-<li>Added <code>web.config</code> file for Microsoft IIS</li>
-<li>Beta release of the <a href="http://github.com/paulirish/html5-boilerplate/wiki/Build-script">Build Script</a> (this is HUGE)</li>
-<li>New project scaffolding <a href="http://github.com/paulirish/html5-boilerplate/wiki/makep.sh">bash script</a>.</li>
-</ul>
-
-#### General
-* Updated Modernizr to 1.6 (smaller and faster)
-* Added web.config file for Microsoft IIS. Now forcing latest IE version and ChromeFrame, if installed.
-* Added favicon and default icon for iOS.
-* Updated crossdomain.xml wording for better security guidelines ( #124 ).
-* Expires value for nginx.conf corrected.
-* License clarified.
-
-#### style.css
-* Removed -webkit-font-smoothing: antialiased; as it made monospace too thin.
-* Updated fonts normalization to YUI 3.2.0 PR1.
-* Table Header set explicitly for IE6 and table row now has page-break: avoid in print CSS.
-* text-shadow:none !important set for all text in print css.
-* Removed scrollbar from textareas in IE.
-* Fixed textarea stylings and form field treatment for validity. Added default background-color.
-* New robust clearfix solution without IE 5.5 hack ( #45 #126 ).
-* Margins for form-elements explicitly set to 0 as webkit adds 2px space around form elements' chrome.
-* Dropped text-rendering: optimizeLegibility as it breaks small-caps and looks odd on Linux machines.
-* Lists now have a left margin of 1.8em. Default list-style-type for ordered list is decimal.
-* Image Replacement now works with right-to-left text ( #68 ).
-* Removed "Star Hack" for checkboxes in favor of .ie7 selector.
-
-#### index.html
-* IE conditional classes have moved from the <body> tag to the <html> tag ( #44 ).
-* Added a IE6 call for the minified dd_belatedpng.
-* Google Analytics script will now work with SSL in IE6.
-* Added protocol independent absolute path for cdn jquery, with improved fallback-to-local code to protect against edge case IE bug.
-* Commented out handheld CSS ( #73 ).
-* Mobile viewport and textsize styles adjusted per group feedback ( #37 ).
-
-#### .htaccess
-* More files are served via gzip like .htc ( #55 ).
-* Added Expires header for content types image/gif and video/webm.
-* Fixed favicon display in IE6 ( #113 ).
-* Corrected mimetypes for fonts.
-* Removed caching for files of type json/xml.
-* Better use of ifmodule for more stability in different Apache environments.
-
-[View full diff and commit history](http://github.com/paulirish/html5-boilerplate/compare/v0.9.1...v0.9.5)
-
-
-#### Contributors
-Shi Chuan, Rob Larsen, Ivan Nikolić, Mikko Tikkanen, Velir, Paul Neave, Weston Ruter, Jeffrey Barke, Robert Meissner, SirFunk, Philip von Bargen, Kroc Camen, Rick Waldron, Andreas Madsen, Marco d'Itri, Adeelejaz, James Rosen, Dave DeSandro, Ken Newman, Daniel Lenz, Swaroop C H, Yann Mainier, Joe Sak, Irakli, Rob Flaherty, Jeff Starr, Mike Lamb, Holek, Aaron Peters, Kaelig, Meander, Charlie Ussery, Ciney, Région Wallonne, Sirupsen, and Paul Hayes.
-
-
-
-### v.0.9.1 : August 13th, 2010
-* HTML5 Boilerplate is now in the Public Domain
-* Nginx configuration added
-* Font stacks (sans-serif and monospace) simplified
-* Very accessible a:focus styles.
-* Corrected IE=edge,chromeframe enabling (As a result, the base HTML [does not validate](http://bit.ly/cGSSgr))
-* ServerSideIncludes disabled by default.
-* Apache config bugfixes
-* Conditional body tag class combined
-* dd_belatedPNG updated to 0.0.8. Redundant BackgroundImageCache fix removed.
-
-[View full diff and commit history](http://github.com/paulirish/html5-boilerplate/compare/v0.9...v0.9.1)
-
-##### Thanks:
-
-voodootikigod, garowetz, fearphage, christopherjacob, mathias byenens, daniel harttman, rse, chris dary, erik dahlstrom, timwillison, kenneth nordahl, riddle, elcuervo, andreas kuckartz, 3rdEden, riley willis, majic3
-
-### v0.9 : August 10th, 2010 - Initial release
-
-
-## License:
-
-Major components:
-
-* Modernizr: MIT/BSD license
-* jQuery: MIT/GPL license
-* DD_belatedPNG: MIT license
-* YUI Profiling: BSD license
-* HTML5Doctor CSS reset: Public Domain
-* CSS Reset Reloaded: Public Domain
-
-Everything else:
-
-* [The Unlicense](http://unlicense.org) (aka: public domain)
-
-
-## Summary:
-
-This is a set of files that a front-end developer can use to get started on a website, with following included:
-
-1. Cross-browser compatible (IE6, yeah we got that.)
-2. HTML5 ready. Use the new tags with certainty.
-3. Optimal caching and compression rules for grade-A performance
-4. Best practice site configuration defaults
-5. Think there's too much? The HTML5 Boilerplate is delete-key friendly. :)
-6. Mobile browser optimizations
-7. Progressive enhancement graceful degredation ........ yeah yeah we got that
-8. IE specific classes for maximum cross-browser control
-9. Want to write unit tests but lazy? A full, hooked up test suite is waiting for you.
-10. Javascript profiling.. in IE6 and IE7? Sure, no problem.
-11. Console.log nerfing so you won't break anyone by mistake.
-12. Never go wrong with your doctype or markup!
-13. An optimal print stylesheet, performance optimized
-14. iOS, Android, Opera Mobile-adaptable markup and CSS skeleton.
-15. IE6 pngfix baked in.
-16. jQuery, waiting for you
-
-## Releases
-
-There are two releases: a documented release, which is exactly what you see here, and a "stripped" release, with most of the descriptive comments stripped out.
-
-Watch the [current tickets](http://github.com/paulirish/html5-boilerplate/issues) to view the areas of active development.
-
View
531 demo/elements.html
@@ -1,531 +0,0 @@
-<!doctype html>
-
-<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
-<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
-<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
-<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
-<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
-<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
-<head>
- <meta charset="utf-8">
-
- <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
- Remove this if you use the .htaccess -->
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-
- <title>Element Consistency Tests</title>
- <meta name="description" content="">
- <meta name="author" content="">
-
- <!-- Mobile viewport optimized: j.mp/bplateviewport -->
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
- <!-- Place favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
- <link rel="shortcut icon" href="/favicon.ico">
- <link rel="apple-touch-icon" href="/apple-touch-icon.png">
-
-
- <!-- CSS : implied media="all" -->
- <link rel="stylesheet" href="../css/style.css?v=2">
-
- <!-- Uncomment if you are specifically targeting less enabled mobile browsers
- <link rel="stylesheet" media="handheld" href="../css/handheld.css?v=2"> -->
-
- <!-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects -->
- <script src="../js/libs/modernizr-1.7.min.js"></script>
-
-</head>
-
-<body>
-
- <div id="container">
- <header>
-
- </header>
-
- <div id="main">
-
- <!-- demo content lovingly lifted from the azbuka project
- http://code.google.com/p/azbuka/
-
- and the bluetrip project
- http://bluetrip.org/
-
- and peter beverloo
- http://peter.sh/examples/?/html/meter-progress.html
- -->
-
-
-
- <h1>Title 01 Heading</h1>
- <hr />
- <h2>Level 02 Heading</h2>
- <p>Lorem ipsum <em>emphasised text</em> dolor sit amet, <strong>strong text</strong>
- consectetur adipisicing elit, <abbr title="">abbreviated text</abbr> sed do eiusmod tempor
- incididunt ut labore et dolore magna aliqua. Ut
- <q>quoted text</q> enim ad minim veniam, quis nostrud exercitation <a href="/">link text</a>
- ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
- <ins>inserted text</ins> irure dolor in reprehenderit in voluptate velit esse cillum
- dolore eu fugiat nulla pariatur. Excepteur sint occaecat <code>code text</code> cupidatat
- non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
-
- <p>
- Suspendisse rhoncus, est ac sollicitudin viverra, leo orci sagittis massa, sed condimentum <acronym title="">acronym text</acronym> est tortor a lectus. Curabitur porta feugiat ullamcorper. Integer lacinia mi id odio faucibus eget tincidunt nisl iaculis. Nam adipiscing hendrerit turpis, et porttitor felis sollicitudin et. Donec dictum massa ac neque accumsan tempor. Cras aliquam, ipsum sit amet laoreet hendrerit, purus <del>deleted text</del> sapien convallis dui, et porta leo ipsum ac nunc. Nullam ornare porta dui ac semper. Cras aliquam laoreet hendrerit. Quisque vulputate dolor eget mi porta vel porta nisl pretium. Vivamus non leo magna, quis imperdiet risus. Morbi tempor risus placerat tellus imperdiet fringilla.
- </p>
-
- <blockquote>
- <p>I am not one who was born in the possession of knowledge; I am one who is fond of antiquity, and earnest in seeking it there.</p>
- </blockquote>
-
- <p><cite><a href="/">Confucius, The Confucian Analects</a></cite>, (551 BC - 479 BC)</p>
-
- <h3>Level 03 Heading</h3>
-
- <p>Extended paragraph. <a href="">Lorem ipsum</a> dolor sit amet, consectetur adipisicing 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. Excepteur sint
- occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
-
- <ol>
- <li>Unus</li>
- <li>Duo</li>
- <li>Tres</li>
- <li>Quattuor</li>
- </ol>
-
- <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
- pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit
- anim id est laborum.</p>
-
- <h3>Header 3</h3>
-
- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt
- ut labore et dolore magna aliqua.</p>
-
- <h4>Unordered lists</h4>
- <ul>
- <li>Lorem ipsum dolor sit amet</li>
- <li>Consectetur adipisicing elit</li>
- <li>Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua</li>
- <li>Ut enim ad minim veniam</li>
- </ul>
- <p>Lorem ipsum dolor sit amet,consectetur adipisicing elit, sed do eiusmod tempor incididunt
- ut labore et dolore magna aliqua.</p>
-
- <pre><code>body { font:0.8125em/1.618 Arial, sans-serif;
- background-color:#fff;
- color:#111;
- }</code></pre>
-
- <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
- pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit
- anim id est laborum.</p>
-
- <h4>Header 4</h4>
-
- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt
- ut labore et dolore magna aliqua.</p>
-
- <dl>
- <dt>Definition list</dt>
- <dd>Consectetur adipisicing 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.</dd>
- <dt>Lorem ipsum dolor sit amet</dt>
- <dd>Consectetur adipisicing 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.</dd>
-
- </dl>
-
- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt
- ut labore et dolore magna aliqua.</p>
- <h4>Ordered list</h4>
- <ol>
- <li>List item</li>
- <li>List item</li>
- <li>List item
- <ol>
- <li>List item level 2</li>
- <li>List item level 2
- <ol>
- <li>List item level 3</li>
- <li>List item level 3</li>
- </ol>
- </li>
- </ol>
- </li>
- </ol>
- <h4>Unordered list</h4>
- <ul>
- <li>List item 01</li>
- <li>List item 02</li>
- <li>List item 03
- <ul>
- <li>List item level 2</li>
- <li>List item level 2
- <ul>
- <li>List item level 3</li>
- <li>List item level 3</li>
- </ul>
- </li>
-
- </ul>
- </li>
- </ul>
-
- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt
- ut labore et dolore magna aliqua.</p>
-
- <h4>Tables</h4>
- <table summary="Jimi Hendrix albums">
- <caption>
- Jimi Hendrix - albums
- </caption>
- <thead>
- <tr>
- <th>Album</th>
- <th>Year</th>
- <th>Price</th>
- </tr>
- </thead>
- <tfoot>
- <tr>
- <td>Album</td>
- <td>Year</td>
- <td>Price</td>
- </tr>
- </tfoot>
- <tbody>
- <tr>
- <td>Are You Experienced</td>
- <td>1967</td>
- <td>$10.00</td>
- </tr>
- <tr>
- <td>Axis: Bold as Love</td>
- <td>1967</td>
- <td>$12.00</td>
- </tr>
- <tr>
- <td>Electric Ladyland</td>
- <td>1968</td>
- <td>$10.00</td>
- </tr>
- <tr>
- <td>Band of Gypsys</td>
- <td>1970</td>
- <td>$12.00</td>
- </tr>
- </tbody>
- </table>
-
- <p>
- I am <a href="http://devkick.com/lab/tripoli/sample.php?abc123">the a tag</a> example<br>
-
- I am <abbr title="test">the abbr tag</abbr> example<br>
-
- I am <acronym>the acronym tag</acronym> example<br>
- I am <b>the b tag</b> example<br>
- I am <big>the big tag</big> example<br>
-
- I am <cite>the cite tag</cite> example<br>
-
- I am <code>the code tag</code> example<br>
- I am <del>the del tag</del> example<br>
- I am <dfn>the dfn tag</dfn> example<br>
-
- I am <em>the em tag</em> example<br>
-
- I am <font face="verdana">the font tag</font> example<br>
- I am <i>the i tag</i> example<br>
- I am <ins>the ins tag</ins> example<br>
-
- I am <kbd>the kbd tag</kbd> example<br>
-
- I am <q>the q tag <q>inside</q> a q tag</q> example<br>
- I am <s>the s tag</s> example<br>
- I am <samp>the samp tag</samp> example<br>
-
- I am <small>the small tag</small> example<br>
- I am <span>the span tag</span> example<br>
- I am <strike>the strike tag</strike> example<br>
- I am <strong>the strong tag</strong> example<br>
-
- I am <sub>the sub tag</sub> example<br>
- I am <sup>the sup tag</sup> example<br>
- I am <tt>the tt tag</tt> example<br>
- I am <var>the var tag</var> example<br>
-
- I am <u>the u tag</u> example
- </p>
-
- <p>This is a &lt;p&gt; with some <code>code</code> inside.</p>
-
- <h3>What is Lorem Ipsum?</h3>
- <p><b>Lorem Ipsum</b> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
-
- <p><strong>This</strong> Lorem Ipsum HTML example is created from the parts of Placeholder Markup with Lorem Ipsum - Jon Tan,
- Emastic CSS Framework,
- Tripoli CSS Framework and
- Baseline CSS Framework .</p>
-
- <address>Address: somewhere, World</address>
-
-
-
- <p>
- <a href="#">Link</a><br>
- <strong>&lt;strong&gt;</strong><br>
- <del>&lt;del&gt; deleted</del><br>
- <dfn>&lt;dfn&gt; dfn</dfn><br>
- <em>&lt;em&gt; emphasis</em>
- </p>
- <pre>
- <code>&lt;html&gt;</code>
- <code>&lt;head&gt;</code>
- <code>&lt;/head&gt;</code>
- <code>&lt;body&gt;</code>
- <code>&lt;div class = "main"&gt; &lt;div&gt;</code>
- <code>&lt;/body&gt;</code>
- <code>&lt;/html&gt; </code>
- </pre>
-
- <tt>&lt;tt&gt;
- Pellentesque tempor, dui ut ultrices viverra, neque urna blandit nisi, id accumsan dolor est vitae risus.
- </tt>
-
- <hr>
-
-
-
- <!-- this following markup from http://bluetrip.org/ -->
- <dl>
- <dt>Description list title 01</dt>
-
- <dd>Description list description 01</dd>
- <dt>Description list title 02</dt>
- <dd>Description list description 02</dd>
- <dd>Description list description 03</dd>
-
- </dl>
- <table>
- <caption>Table Caption</caption>
-
- <thead>
- <tr>
- <th>Table head th</th>
- <td>Table head td</td>
- </tr>
-
- </thead>
- <tfoot>
- <tr>
-
- <th>Table foot th</th>
- <td>Table foot td</td>
- </tr>
- </tfoot>
-
- <tbody>
- <tr>
- <th>Table body th</th>
-
- <td>Table body td</td>
- </tr>
- <tr>
- <td>Table body td</td>
-
- <td>Table body td</td>
- </tr>
- </tbody>
-
- </table>
-
- <hr>
-
- <form action="#">
- <fieldset>
- <legend>Form legend</legend>
-
- <div><label for="f1">Optional Text input:</label><input type="text" id="f1" value="input text" /></div>
- <div><label for="rt1">Required Text input:</label><input type="text" id="rt1" required /></div>
- <div><label for="twp1">Text input with pattern requirement and placeholder:</label><input type="text" pattern="\d{5}(-\d{4})?" title="a US Zip code, with or without the +4 exension" placeholder="12345-6789"/></div>
- <div><label for="s1">Search input:</label><input type="search" id="s1" /></div>
- <div><label for="e1">Email input:</label><input type="email" id="e1" /></div>
- <div><label for="u1">URL input:</label><input type="url" id="u1" /></div>
- <div><label for="pw">Password input:</label><input type="password" id="pw" value="password" /></div>
- <div><label for="f2">Radio input:</label><input type="radio" id="f2" /></div>
-
- <div><label for="f3">Checkbox input:</label><input type="checkbox" id="f3" /></div>
- <div><label for="f4">Select field:</label><select id="f4"><option>Option 01</option><option>Option 02</option></select></div>
-
- <div><label for="f5">Textarea:</label><textarea id="f5" cols="30" rows="5" >Textarea text</textarea></div>
- <div><label for="f6">Input Button:</label> <input type="button" id="f6" value="button text" /></div>
-
- <div><label for="f7">Submit Button:</label> <input type="submit" id="f7" value="button text" /></div>
-
- </fieldset>
-
- </form>
-
-
- <!-- thx peter beverloo: http://peter.sh/examples/?/html/meter-progress.html -->
-
-
- <p id="no-support" style="color: red; margin-bottom: 12px;">
- Your browser does not support these elements yet! Consider downloading a <a href="http://tools.peter.sh/download-latest-chromium.php">Chromium Nightly</a>.<br />
-
- </p>
-
- <h3>&lt;progress&gt;</h3>
- <p>
- The progress element (spec: <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-progress-element">4.10.16</a>) represents the completion progress of a task and can be both indeterminate as determinate.
- </p>
- <ul class="compact">
- <li>
- <label>Indeterminate</label>
- <progress max="100"></progress>
- </li>
- <li>
- <label>Progress: 0%</label>
- <progress max="10" value="0"></progress>
- </li>
- <li>
- <label>Progress: 100%</label>
- <progress max="3254" value="3254"></progress>
- </li>
- <li>
- <label>Progress: 57%</label>
- <progress max="0.7" value="0.4"></progress>
- </li>
- <li>
- <label>Javascript</label>
- <progress id="progress-javascript-example"></progress>
- </li>
- </ul>
-
- <h3>&lt;meter&gt;</h3>
- <p>
- Displaying a scalar measurement within a known range, like hard drive usage, can be done using the meter element (spec: <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-meter-element">4.10.17</a>)
- </p>
- <ul class="compact">
- <li>
- <label>Meter: empty</label>
- <meter value="0"></meter>
- </li>
- <li>
- <label>Meter: full</label>
- <meter value="1"></meter>
- </li>
- <li>
- <label>Meter: "a bit"</label>
- <meter min=".34" max=".41" value=".36"></meter>
- </li>
- <li>
- <label>Preferred usage</label>
- <meter min="50" max="250" low="100" high="200" value="120"></meter>
- </li>
- <li>
- <label>Too much traffic</label>
- <meter min="1024" max="10240" low="2048" high="8192" value="9216"></meter>
- </li>
- <li>
- <label>Optimum value</label>
- <meter value=".5" optimum=".8"></meter>
- </li>
- <li>
- <label>Javascript</label>
- <meter id="meter-javascript-example" value="0"></meter>
- </li>
- </ul>
-
- <script>
- (function () {
- if (! ("position" in document.createElement ("progress"))) {
- var elements = document.querySelectorAll ("meter, progress");
- for (var i = 0, j = elements.length; i < j; i++) {
- elements [i].style.border = "1px solid red";
- elements [i].style.height = "12px";
- elements [i].style.display = "inline-block";
- elements [i].style.webkitAppearance = "none";
- }
-
- return ;
- }
-
- document.getElementById ("no-support").style.display = "none";
-
- /** Setup the <progress> JavaScript example **/
- var progressExample = document.getElementById ("progress-javascript-example");
- progressExample.min = 50;
- progressExample.max = 122;
-
- setInterval (function ()
- {
- progressExample.value = progressExample.min + Math.random () * (progressExample.max - progressExample.min);
-
- }, 1000);
-
- /** We'd like some fancy <meter> examples too **/
- var meterExample = document.getElementById ("meter-javascript-example");
- meterExample.min = 0;
- meterExample.max = 100;
- meterExample.value = 50;
- meterExample.low = 20;
- meterExample.high = 80;
- meterExample.optimum = 65;
-
- setInterval (function ()
- {
- meterExample.value = meterExample.min + Math.random () * (meterExample.max - meterExample.min);
- meterExample.optimum = 65 + (5 - Math.random () * 10);
-
- }, 1000);
-
- })();
- </script>
-
-
-
- </div>
-
-
- <footer>
-
- </footer>
-</div> <!--! end of #container -->
-
-
-<!-- Javascript at the bottom for fast page loading -->
-
-
-
-<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
-<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
-<script>window.jQuery || document.write("<script src='../js/libs/jquery-1.5.1.min.js'>\x3C/script>")</script>
-
-
-<!-- scripts concatenated and minified via ant build script-->
-<script src="../js/plugins.js"></script>
-<script src="../js/script.js"></script>
-<!-- end scripts-->
-
-
-<!--[if lt IE 7 ]>
- <script src="../js/libs/dd_belatedpng.js"></script>
- <script> DD_belatedPNG.fix("img, .png_bg"); //fix any <img> or .png_bg background-images </script>
-<![endif]-->
-
-
-<!-- mathiasbynens.be/notes/async-analytics-snippet Change UA-XXXXX-X to be your site's ID -->
-<script>
- var _gaq=[["_setAccount","UA-XXXXX-X"],["_trackPageview"]];
- (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
- g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
- s.parentNode.insertBefore(g,s)}(document,"script"));
-</script>
-
-</body>
-</html>
View
85 demo/hack.css
@@ -1,85 +0,0 @@
-/*
- style.css contains a reset, font normalization and some base styles.
-
- credit is left where credit is due.
- additionally, much inspiration was taken from these projects:
- yui.yahooapis.com/2.8.1/build/base/base.css
- camendesign.com/design/
- praegnanz.de/weblog/htmlcssjs-kickstart
-*/
-
-/*
- html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
- v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
- html5doctor.com/html-5-reset-stylesheet/
-*/
-
-html, body, div, span, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-abbr, address, cite, code,
-del, dfn, em, img, ins, kbd, q, samp,
-small, strong, sub, sup, var,
-b, i,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td,
-article, aside, canvas, details, figcaption, figure,
-footer, header, hgroup, menu, nav, section, summary,
-time, mark, audio, video {
- margin:0;
- padding:0;
- border:0;
- outline:0;
- font-size:100%;
- vertical-align:baseline;
- background:transparent;
-}
-
-article, aside, details, figcaption, figure,
-footer, header, hgroup, menu, nav, section {
- display:block;
-}
-
-nav ul { list-style:none; }
-
-blockquote, q { quotes:none; }
-
-blockquote:before, blockquote:after,
-q:before, q:after { content:""; content:none; }
-
-a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
-
-ins { background-color:#ff9; color:#000; text-decoration:none; }
-
-mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
-
-del { text-decoration: line-through; }
-
-abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
-
-/* tables still need cellspacing="0" in the markup */
-table { border-collapse:collapse; border-spacing:0; }
-
-hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
-
-input, select { vertical-align:middle; }
-/* END RESET CSS */
-
-
-/* fonts.css from the YUI Library: developer.yahoo.com/yui/
- Please refer to developer.yahoo.com/yui/fonts/ for font sizing percentages
-
- There are three custom edits:
- * remove arial, helvetica from explicit font stack
- * we normalize monospace styles ourselves
- * table font-size is reset in the HTML5 reset above so there is no need to repeat
-*/
-body { font:13px/1.231 sans-serif; *font-size:small; } /* hack retained to preserve specificity */
-
-select, input, textarea, button { font:99% sans-serif; }
-
-/* normalize monospace sizing
- * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
- */
-pre, code, kbd, samp { font-family: monospace, sans-serif; }
-
View
41 demo/hack2.css
@@ -1,41 +0,0 @@
-body { font:13px/1.231 sans-serif; *font-size:small; } /* hack retained to preserve specificity */
- body, select, input, textarea {
- /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
- color: #444;
- /* set your base font here, to apply evenly
- /* font-family: Georgia, serif; */
- }
-
- /* Headers (h1,h2,etc) have no default font-size or margin,
- you'll want to define those yourself. */
- h1,h2,h3,h4,h5,h6 { font-weight: bold; }
- h1 { font-size: 2em; }
- select, input, textarea, button { font:99% sans-serif; }
-
- /* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
- a:hover, a:active { outline: none; }
-
- .current { background: #ccc; }
- header span { padding: 0.2em 0.5em; display: inline-block; }
- dd, h1, body, html { margin: 0;}
-
-
- a, a:active, a:visited { color: #607890; }
- a:hover { color: #036; }
- .wrapper {width:200px; border:1px solid red;}
-
- dl {margin:0 auto; width:900px;}
- dt {background-color:#ccc; margin-bottom:20px; cursor:pointer; cursor:hand; padding:5px; font-weight:bold; }
- dd {margin-bottom:30px;}
-
-#clear-demo {width:500px; border:1px solid black;}
-#clear-demo-l {width:200px; border:1px solid black; float:left;}
-#clear-demo-r {width:200px; border:1px solid black; float:right;}
-#clear-demo-b {width:200px; border:1px solid black;}
-
-header {text-align:center;}
-.show, .hide {color: #607890; cursor:pointer; cursor:hand;}
-
-body {
- padding-bottom: 200px;
-}
View
BIN  demo/internet_explorer.png
Deleted file not rendered
View
BIN  demo/test_tubes.png
Deleted file not rendered
View
313 demo/tests.html
@@ -1,313 +0,0 @@
-<!doctype html>
-
-<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
-<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
-<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
-<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
-<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
-<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
-<head>
- <meta charset="utf-8">
-
- <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
- Remove this if you use the .htaccess -->
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-
- <title>Boilerplate Test Suite</title>
- <meta name="description" content="">
- <meta name="author" content="">
-
- <!-- Mobile viewport optimized: j.mp/bplateviewport -->
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
- <!-- Place favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
- <link rel="shortcut icon" href="/favicon.ico">
- <link rel="apple-touch-icon" href="/apple-touch-icon.png">
-
-
- <!-- CSS : implied media="all" -->
- <link rel="stylesheet" href="../css/style.css?v=2">
- <link rel="stylesheet" href="hack2.css">
-
- <!-- Uncomment if you are specifically targeting less enabled mobile browsers
- <link rel="stylesheet" media="handheld" href="../css/handheld.css?v=2"> -->
-
- <!-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects -->
- <script src="../js/libs/modernizr-1.7.min.js"></script>
-
-</head>
-
-<body>
-
- <div id="container">
-
-
- <header>
- <br /><br /><h1>HTML5 Boilerplate CSS Hack Sheet</h1><br /><br />
- </header>
-
-
- <div id="main" style="display:block;">
- <dl>
- <dt>Hack 01 - Set default color</dt>
- <dd>
- HTML5 Boilerplate suggests the default color looks better when set to #444 instead of #000.<br />
- <span style="color:black;">Web font default color</span>
- </dd>
-
- <dt>Hack 02 - Vertical Scroll Bar</dt>
- <dd>
- Click <a href="#" id="shorten">contract</a> | <a href="#" id="expand">expand</a> to see how Boilerplate forces a scrollbar in non-IE.
- </dd>
-
- <dt>Hack 03 - Accessible focus style</dt>
- <dd>
- Remove dotted outline around 'a' element on hover and on focus in certain browsers
- <br /><br />
- <span href="#" class="show">With Boilerplate CSS</span> | <span href="#" class="hide">Without Boilerplate CSS</span>
- <br /><br />
- <a href="#" class="preventDefault">Click me</a>
- </dd>
-
- <dt>Hack 04 - Pre Wrapping</dt>
- <dd>
- Default <code>pre</code> doesn't wrap text. Boilerplate forces <code>pre</code> to wrap text.
- <br /><br />
- <span href="#" class="show">With Boilerplate CSS</span> | <span href="#" class="hide">Without Boilerplate CSS</span>
- <br /><br />
- with wrapping:<br /><br />
- <div style="height:115px;">
- <div class="wrapper">
- <pre>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</pre>
- </div>
- </div><br />
- without wrapping:<br /><br />
- <div class="wrapper">
- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- </div>
- </dd>
-
- <dt>Hack 05 - Remove default textarea scrollbar in IE</dt>
- <dd>
- IE shows a disabled scrollbar on empty <code>textarea</code>.<br><br>
- <span href="#" class="show">With Boilerplate CSS</span> | <span href="#" class="hide">Without Boilerplate CSS</span>
- <br /><br />
- <form>
- <textarea></textarea>
- </form>
- </dd>
-
- <dt>Hack 06 - IE6,7 legend margin</dt>
- <dd>
- Left align form legend to the inner text in IE 6,7.<br /><br />
- <span href="#" class="show">With Boilerplate CSS</span> | <span href="#" class="hide">Without Boilerplate CSS</span>
- <br /><br />
- <form>
- <fieldset>
- <legend>Information:</legend><br />
- Name: <input type="text" size="30" /><br />
- Email: <input type="text" size="30" /><br />
- Date of birth: <input type="text" size="10" />
- </fieldset>
- </form>
- </dd>
-
- <dt>Hack 07 - Vertically align checkboxes, radios, text inputs with their label</dt>
- <dd>
- <span href="#" class="show">With Boilerplate CSS</span> | <span href="#" class="hide">Without Boilerplate CSS</span>
- <br /><br />
- <input type="radio" /> Option A <br /><br />
- <input type="checkbox" /> Item B <br /><br />
- Name: <input type="text" />
- </dd>
-
- <dt>Hack 08 - Hand cursor on clickable input elements</dt>
- <dd>
- <span href="#" class="show">With Boilerplate CSS</span> | <span href="#" class="hide">Without Boilerplate CSS</span>
- <br /><br />
- Input with type submit <input type="submit" value="submit" />
- </dd>
-
-
- <dt>Hack 09 - Webkit browsers form elements margin</dt>
- <dd>
- Webkit browsers add a 2px margin outside the chrome of form elements.<br /><br />
- <span href="#" class="show">With Boilerplate CSS</span> | <span href="#" class="hide">Without Boilerplate CSS</span>
- <br /><br />
- <form>
- <input type="submit" value="submit" /><br /><br />
- <button type="button">Click Me!</button><br /><br />
- <select><option>Default</option></select>
- </form>
- </dd>
-
- <dt>Hack 10 - Make buttons width rendered correctly</dt>
- <dd>
- IE adds extra padding to <code>button</code>. This fixes the issue. <br /><br />
- <span href="#" class="show">With Boilerplate CSS</span> | <span href="#" class="hide">Without Boilerplate CSS</span>
- <br /><br />
- <form>
- <button type="button">Click Me!</button>
- <button type="button">This is a really long button</button>
- </form>
- </dd>
-
- <dt>Hack 11 - Bicubic resizing for non-native sized IMG</dt>
- <dd>
- IE7 hack to reduce distortion caused by image resizing <br /><br />
- <span href="#" class="show">With Boilerplate CSS</span> | <span href="#" class="hide">Without Boilerplate CSS</span>
- <br /><br />
- <img src="../apple-touch-icon.png" width="27" /><br />
- <img src="../apple-touch-icon.png" width="57" /><br />
- <img src="../apple-touch-icon.png" width="157" /><br />
- </dd>
-
- <dt>Hack 12 - Hide visually</dt>
- <dd>
- Hide elements visually, but have it available for screen readers.
- <br /><br />
- <span href="#" class="show">With Boilerplate CSS</span> | <span href="#" class="hide">Without Boilerplate CSS</span>
- <br /><br />
- <div class="visuallyhidden">showing</div>
- </dd>
-
- <dt>Hack 13 - Image text replacement</dt>
- <dd>
- Replace text with images.
- <br /><br />
- <span href="#" class="show">With Boilerplate CSS</span> | <span href="#" class="hide">Without Boilerplate CSS</span>
- <br /><br />
-
- <div class="ir" style="background:url('../apple-touch-icon.png'); width:57px; height:57px;">Apple Touch Icon</div>
-
- </dd>
-
- <dt>Hack 14 - Clear Floats</dt>
- <dd>
- Clear Floated elements without extra markup.
- <br /><br />
- <span href="#" class="show">With Boilerplate CSS</span> | <span href="#" class="hide">Without Boilerplate CSS</span>
- <br /><br />
- <div id="clear-demo" class="clearfix">
- <div id="clear-demo-l">text floated left</div><div id="clear-demo-r">text floated right</div>
- </div>
- <div id="clear-demo-b">unfloated text</div>
- </dd>
-
-
- <dt>Hack 15 - PNG fix</dt>
- <dd>fix pngs for correct display in IE6
- <br /> <br />
-
- <div style="position:relative">
-
- <!-- wassup gradient. -->
- <div style="
- position:absolute; height: 40px; background-color: #444444; background-image: -moz-linear-gradient(top, #444444, #999999);
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #444444),color-stop(1, #999999));
- filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#444444', EndColorStr='#999999');
- ">
-
- <div class="png_bg" style="
- border:1px solid #ddd; width:100px; padding:10px 10px 10px 50px;
- display:inline-block; background:url(test_tubes.png) no-repeat 5px center;
- ">
- <img src="internet_explorer.png" alt="IE is so awesome" />
- </div>
- </div>
- </div>
- </dd>
- </dl>
- </div>
- <footer>
-
- </footer>
- </div> <!--! end of #container -->
-
-
- <!-- Javascript at the bottom for fast page loading -->
-
- <!-- Grab Google CDN's jQuery. fall back to local if necessary -->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.js"></script>
- <script>!window.jQuery && document.write(unescape("%3Cscript src='../js/libs/jquery-1.5.0.js'%3E%3C/script%3E"))</script>
-
-
- <script>
- $("#expand").click(function() {
- $("#container").css("height","auto").css("overflow","");
- return false;
- });
-
- $("#shorten").click(function() {
- $("#container").css("height","300px").css("overflow","hidden");
- return false;
- });
-
- $("#atag").click(function() {
- return false;
- });
-
- $(".show").click(function(){
- $(".show").addClass("current")
- $(".hide").removeClass("current");
- showStyle();
- return false;
- });
- $(".hide").click(function(){
- $(".hide").addClass("current")
- $(".show").removeClass("current");
- // freeze the size of each tests so the page doesnt jump.
- $("dd").each(function(){
- $(this).height( $(this).height() );
- });
-
- hideStyle();
- return false;
- });
-
- var linkTags = $("link");
- function hideStyle() {
- // tee hee
- $("link[href*='style.css']").attr("media","braille");
- }
- function showStyle() {
- $("link[href*='style.css']").attr("media","all");
- }
-
- $(".preventDefault").click(function() {
- return false;
- });
-
- $(function(){
- $(".show").addClass("current");
- })
- </script>
-
-
- <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
- <script>window.jQuery || document.write("<script src='../js/libs/jquery-1.5.1.min.js'>\x3C/script>")</script>
-
-
- <!-- scripts concatenated and minified via ant build script-->
- <script src="../js/plugins.js"></script>
- <script src="../js/script.js"></script>
- <!-- end scripts-->
-
-
- <!--[if lt IE 7 ]>
- <script src="../js/libs/dd_belatedpng.js"></script>
- <script> DD_belatedPNG.fix("img, .png_bg"); //fix any <img> or .png_bg background-images </script>
- <![endif]-->
-
-
- <!-- mathiasbynens.be/notes/async-analytics-snippet Change UA-XXXXX-X to be your site's ID -->
- <script>
- var _gaq=[["_setAccount","UA-XXXXX-X"],["_trackPageview"]];
- (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
- g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
- s.parentNode.insertBefore(g,s)}(document,"script"));
- </script>
-
- </body>
- </html>

No commit comments for this range

Something went wrong with that request. Please try again.