PHP Classes

File: demo/RUN_ME.php

Recommend this page to a friend!
  Classes of Sheldon Kennedy   PHP CSS Parser and Optimizer   demo/RUN_ME.php   Download  
File: demo/RUN_ME.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP CSS Parser and Optimizer
Modify HTML with CSS to optimize the C
Author: By
Last change:
Date: 8 months ago
Size: 176 bytes
 

Contents

Class file image Download
<?php

include '../src/CSSParser.php';

$html = file_get_contents('sample.html');

$cssParser = new CSSParser();
$modifiedHtml = $cssParser->parse($html);

echo
$modifiedHtml;