读书人

一个检测浏览器对HTML5跟CSS3特性支持

发布时间: 2013-07-04 11:45:40 作者: rapoo

一个检测浏览器对HTML5和CSS3特性支持的JS库

<!--<![endif]-->

<head>

? ? ? ? <meta charset="utf-8">

? ? ? ? <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

? ? ? ? <title></title>

? ? ? ? <meta name="description" content="">

? ? ? ? <meta name="viewport" content="width=device-width">

?

? ? ? ? <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->

?

? ? ? ? <link rel="stylesheet" href="css/normalize.css">

? ? ? ? <link rel="stylesheet" href="css/main.css">

? ? ? ? <script style="max-width: 100%;height: auto;width: auto\9;" src="//www.google-analytics.com/ga.js"></script><script src="js/vendor/modernizr-2.6.2.min.js"></script>

? ? </head>

? ? <body>

? ? ? ? <!--[if lt IE 7]>

? ? ? ? ? ? <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>

? ? ? ? <![endif]-->

?

? ? ? ? <!-- Add your site or application content here -->

? ? ? ? <p>Hello world! This is HTML5 Boilerplate.</p>

? ? ? ? <abbr title="test">ttt</abbr>

? ? ? ? <dfn>231231 </dfn>

? ? ? ? <figure>

? ? ? ? ? <h1>PRC</h1>

? ? ? ? ? <p>The People's Republic of China was born in 1949...</p>

? ? ? ? </figure>

? ? ? ??

? ? ? ? <script style="max-width: 100%;height: auto;width: auto\9;" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

? ? ? ? <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.9.1.min.js"><\/script>')</script><script src="js/vendor/jquery-1.9.1.min.js"></script>

? ? ? ? <script src="js/plugins.js"></script>

? ? ? ? <script src="js/main.js"></script>

?

? ? ? ? <!-- Google Analytics: 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.src='//www.google-analytics.com/ga.js';

? ? ? ? ? ? s.parentNode.insertBefore(g,s)}(document,'script'));

? ? ? ? </script>

? ??

?

</body></html>

?

?

读书人网 >CSS

热点推荐