public function style($href, $version=false) {

        $list = [];

        foreach((array)$href as $style) {

            $type = 'text/css';
            $rel  = 'stylesheet';
            $src  = $style;

            if (is_array($style)) {
                extract($style);
            }

            $ispath = strpos($src, ':') !== false && !preg_match('#^(|http\:|https\:)//#', $src);
            $list[] = '<link href="'.($ispath ? $this->pathToUrl($src):$src).($version ? "?ver={$version}":"").'" type="'.$type.'" rel="'.$rel.'">';
        }

        return implode("\n", $list);
    }