В OctoberCMS я могу внедрить файл CSS на свою страницу, используя:
public function onRun()
{
$this->addCss('http://yui.yahooapis.com/pure/0.6.0/grids-responsive-min.css');
}
Я не знаю, однако, как я могу проверить версию IE в приведенном выше коде? Что эквивалентно следующему коду CSS в OctoberCMS?
<!--[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]-->