php - How can I replace things in minify and css files -
php - How can I replace things in minify and css files -
i'm using minify
and have css file "style.css"
body{ background: url(image.png); }
and when making mini in /path/to/min/dir/f=style.css because of want create url of backgound total this
body{ background: url({$url}/image.png); }
and in mimify class create assign or replace smarty
to mimi this
body{background: url(/path/to/image.png);}
you can't minify , have dynamic values in (it supposed caching).
if you've got dynamic url's, inline css or add together css header in html/php file, not in css file
php
Comments
Post a Comment