Html::css()
Creates one or multiple CSS link tags
Html::css(Plugin|Assets|array|string $url, array|string|null $options = null): string|null
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $urlrequired | Kirby\Plugin\PluginorKirby\Plugin\Assetsorarrayorstring |
no default value | Relative or absolute URLs, an array of URLs or @auto for automatic template css loading |
| $options | arrayorstringornull |
null
|
Pass an array of attributes for the link tag or a media attribute string |
Return types
stringornull