【发布时间】:2016-04-05 06:33:58
【问题描述】:
在 OctoberCMS 中,我可以使用以下方法将 CSS 文件注入我的页面:
public function onRun()
{
$this->addCss('http://yui.yahooapis.com/pure/0.6.0/grids-responsive-min.css');
}
我不知道,如何查看上面代码中的 IE 版本? OctoberCMS 中的以下 CSS 代码相当于什么?
<!--[if lte IE 8]>
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/grids-responsive-old-ie-min.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/grids-responsive-min.css">
<!--<![endif]-->
【问题讨论】:
标签: css octobercms