addCss
boolean public \Bitrix\Main\Page\Asset::addCss( $path, boolean $additional = false );
Non-static method adds css to site's <head>…</head>
section.
Similar to the method CMain::SetAdditionalCSS in the old core.
Parameters
Parameter | Description | Version |
---|---|---|
$path | ||
$additional |
Example
© «Bitrix24», 2001-2024