即使使用非常简单的页面,我也无法让 Selectivizr 工作。我做错什么了?
http://jiewmeng.kodingen.com/playground/selectivr.html
<html>
<head>
<link rel="stylesheet" href="selectivr.css" />
<script src="https://ajax.googleapis.com/ajax/libs/mootools/1.3.1/mootools-yui-compressed.js"></script>
<!--[if (gte IE 6)&(lte IE 8)]>
<script src="selectivizr.js"></script>
<![endif]-->
</head>
<body>
<h1>Hello World</h1>
<p>Paragraph 1</p>
<p>Paragraph 2</p>
<p>Paragraph 3</p>
<p>Paragraph 4</p>
<p>Paragraph 5</p>
<p>Paragraph 6</p>
</body>
</html>
CSS
p:nth-child(2n+2) { color: red }