Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Arturs Sosins  >  CSS fix  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example reading css from file
Class: CSS fix
Replace CSS properties with browser specific names
Author: By
Last change:
Date: 2012-04-07 07:28
Size: 760 bytes
 

Contents

Class file image Download
<?php
/************************************************************* 
 * This script is developed by Arturs Sosins aka ar2rsawseen, http://webcodingeasy.com 
 * Feel free to distribute and modify code, but keep reference to its creator 
 * 
 * CSSfix class can automatically apply vendor prefixes to specified CSS rules.
 * It also applies other fixes, for different CSS browser specifics.
 * 
 * For more information, examples and online documentation visit:  
 * http://webcodingeasy.com/PHP-classes/Automatically-add-CSS-vendor-prefixes
**************************************************************/
 
//declaring class instance
include("./CSSfix.php");
$css = new CSSfix();

$css->from_file("./style.css");

echo 
$css->generate(false);