Files
2026-07-01 16:44:17 +03:00

38 lines
762 B
PHP

<?php namespace ZN\Inclusion;
/**
* ZN PHP Web Framework
*
* "Simplicity is the ultimate sophistication." ~ Da Vinci
*
* @package ZN
* @license MIT [http://opensource.org/licenses/MIT]
* @author Ozan UYKUN [ozan@znframework.com]
*/
class Style extends BootstrapExtends
{
/**
* HTML Element
*
* @param string $src = NULL
*
* @return string
*/
public static function tag(?string $src = NULL) : string
{
return '<link href="' . $src . '" rel="stylesheet" type="text/css" />' . EOL;
}
/**
* Get styles
*
* @param string ...$styles
*
* @return mixed
*/
public static function use(...$styles)
{
return self::gettype('style', $styles);
}
}