Download the PHP package mishal/iless-plugin-autoprefix without Composer
On this page you can find all versions of the php package mishal/iless-plugin-autoprefix. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mishal/iless-plugin-autoprefix
More information about mishal/iless-plugin-autoprefix
Files in mishal/iless-plugin-autoprefix
Download mishal/iless-plugin-autoprefix
More information about mishal/iless-plugin-autoprefix
Files in mishal/iless-plugin-autoprefix
Vendor mishal
Package iless-plugin-autoprefix
Short Description ILess plugin for autoprefixing CSS
License MIT
Homepage http://github.com/mishal/iless-plugin-autoprefix
Package iless-plugin-autoprefix
Short Description ILess plugin for autoprefixing CSS
License MIT
Homepage http://github.com/mishal/iless-plugin-autoprefix
Please rate this library. Is it a good library?
Informations about the package iless-plugin-autoprefix
ILess Plugin - Autoprefix
Autoprefixes the generated CSS using PostCSS autoprefixer plugin.
Build Status
Requirements
To use this plugin you need node.js > 0.12
installed on the machine.
Installation
Install using composer:
$ composer require mishal/iless-plugin-autoprefix
Install requirements
$ npm install postcss-cli autoprefixer
See package.json
for required versions.
Programmatic Usage
use ILess\Parser;
use ILess\Plugin\Autoprefix\AutoprefixPlugin;
$parser = new Parser();
// register the plugin
$parser->getPluginManager()->addPlugin(new AutoprefixPlugin([
// see https://github.com/ai/browserslist
'browsers' => ['last 2 versions']
]));
$parser->parseFile('/example.less');
$css = $parser->getCSS();
Less Code – Example.less
a {
display: flex;
}
Generated CSS
a {
display: -ms-flexbox;
display: flex;
}
All versions of iless-plugin-autoprefix with dependencies
PHP Build Version
Package Version
The package mishal/iless-plugin-autoprefix contains the following files
Loading the files please wait ....