/ Published in: PHP
Compress Multiple CSS With PHP
Expand |
Embed | Plain Text
<?php function compress($buffer) { /* remove comments */ /* remove tabs, spaces, newlines, etc. */ ", "\r", "\n", "\t", ' ', ' ', ' '), '', $buffer); return $buffer; } /* your css files */ include('master.css'); include('typography.css'); include('grid.css'); include('print.css'); include('handheld.css'); ?>
You need to login to post a comment.
