Ruud68 / php-autoprefixer

CSS autoprefixer written in pure PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php-autoprefixer

CSS autoprefixer written in pure PHP

Installation

Simply add a dependency on padaliyajay/php-autoprefixer to your composer.json file if you use Composer to manage the dependencies of your project:

composer require padaliyajay/php-autoprefixer

Although it's recommended to use Composer, you can actually include these files anyway you want.

Usage

use Padaliyajay\PHPAutoprefixer\Autoprefixer;

$unprefixed_css = file_get_contents('main.css'); // CSS code

$autoprefixer = new Autoprefixer($unprefixed_css);
$prefixed_css = $autoprefixer->compile();

License

MIT licensed.

Donate & Support

PayPal.me

About

CSS autoprefixer written in pure PHP

License:MIT License


Languages

Language:CSS 97.0%Language:PHP 3.0%