yii\helpers\BaseHtml::style PHP 메소드

style() 공개 정적인 메소드

Generates a style tag.
public static style ( string $content, array $options = [] ) : string
$content string the style content
$options array the tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using [[encode()]]. If a value is null, the corresponding attribute will not be rendered. See [[renderTagAttributes()]] for details on how attributes are being rendered.
리턴 string the generated style tag
    public static function style($content, $options = [])
    {
        return static::tag('style', $content, $options);
    }