2017 © Pedro Peláez
 

yii2-extension yii2-embedcss

Embed Css with IDE checking or intellisense.

image

shqear/yii2-embedcss

Embed Css with IDE checking or intellisense.

  • Thursday, June 30, 2016
  • by shqear93
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

thanks for mitrii/yii2-embedjs, (*1)

Yii2 embed Css

Embed Css with IDE checking or intellisense, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist shqear/yii2-embedcss "*"

or add, (*5)

"shqear/yii2-embedcss": "*"

to the require section of your composer.json file., (*6)

Usage

Once the extension is installed, simply use it in your code by :, (*7)

<?php \shqear\widgets\EmbedCss::begin(); ?>
<style type="text/css">
    html { background: red; }
</style>
<?php \shqear\widgets\EmbedCss::end(); ?>

Or with 'depends' option, (*8)

<?php \shqear\widgets\EmbedCss::begin(['depends' => '\yii\web\JqueryAsset']); ?>
<style>
    html { background: red; }
</style>
<?php \shqear\widgets\EmbedCss::end(); ?>

The Versions

30/06 2016

dev-master

9999999-dev

Embed Css with IDE checking or intellisense.

  Sources   Download

BSD-3-Clause

The Requires

 

css extension yii2 block embed extended cascade stylesheet

30/06 2016

1.0

1.0.0.0

Embed Css with IDE checking or intellisense.

  Sources   Download

BSD-3-Clause

The Requires

 

css extension yii2 block embed extended cascade stylesheet