Skip to content

Kirby 3.7.5

Html::css()

Creates one or multiple CSS link tags

Html::css(string|array $url, string|array $options = null): string|null

Parameters

Name Type Default Description
$url * string|array Relative or absolute URLs, an array of URLs or @auto for automatic template css loading
$options string|array null Pass an array of attributes for the link tag or a media attribute string

Return type

string|null

Parent class

Kirby\Cms\Html