diff --git a/framework/yii/helpers/BaseHtml.php b/framework/yii/helpers/BaseHtml.php
index eb29670..6f8e4e5 100644
--- a/framework/yii/helpers/BaseHtml.php
+++ b/framework/yii/helpers/BaseHtml.php
@@ -191,7 +191,9 @@ class BaseHtml
*/
public static function cssFile($url, $options = [])
{
- $options['rel'] = 'stylesheet';
+ if (!isset($options['rel'])) {
+ $options['rel'] = 'stylesheet';
+ }
$options['href'] = static::url($url);
return static::tag('link', '', $options);
}