title: Yii2 how to include multiple css files from specific view or controller action
body: <p>I have installed YII2 of my local server and I want to include separate css file from specific view or controller action, I have used a method but the method on include one css file in my specific view , could any one answer me for the solution my code is below. The firs file is include and the remaining is ignored.</p>
  
  <pre><code>$this-&gt;registerCssFile(Yii::$app-&gt;request-&gt;BaseUrl."/assets/plugins/iCheck/flat/blue.css", [
      'depends' =&gt; [BootstrapAsset::className()],
      'media' =&gt; 'screen',
  ], 'css-screen-theme');
  
  $this-&gt;registerCssFile(Yii::$app-&gt;request-&gt;BaseUrl."/assets/plugins/morris/morris.css", [
      'depends' =&gt; [BootstrapAsset::className()],
      'media' =&gt; 'screen',
  ], 'css-screen-theme');
  
  $this-&gt;registerCssFile(Yii::$app-&gt;request-&gt;BaseUrl."/assets/plugins/jvectormap/jquery-jvectormap-1.2.2.css", [
      'depends' =&gt; [BootstrapAsset::className()],
      'media' =&gt; 'screen',
  ], 'css-screen-theme');
  
  $this-&gt;registerCssFile(Yii::$app-&gt;request-&gt;BaseUrl."/assets/plugins/datepicker/datepicker3.css", [
      'depends' =&gt; [BootstrapAsset::className()],
      'media' =&gt; 'screen',
  ], 'css-screen-theme');
  </code></pre>