Jump to main content Jump to doc navigation

modX::regClientCSS

Register CSS to be injected inside the HEAD tag of a resource.

Syntax

API Doc: modX::regClientCSS()

void regClientCSS (string $src)

Example

Register a CSS file to the HEAD tag:

$modx->regClientCSS('assets/css/style.css');

See Also