Closed denis-g closed 13 years ago
Hello. I like your script, and new features. This is cool 8) I have a couple of additions to your script.
Minify function ignores ' !important' value - not delete first space. Need add new rule in $replacements function
'#\s*!#' => '!'
csscrush_Opacity
You can use short line (IE5.5+)
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity={$msval});
change to
filter:alpha(opacity={$msval});
csscrush_Border_Radius
Add webkit prefix for old Safari support
return "-webkit-{$prop}:{$val};-moz-{$prop}:{$val};{$prop}:{$val}";
csscrush_Transition
Add IE10 support
return "-webkit-{$prop}:{$val};-moz-{$prop}:{$val};-ms-{$prop}:{$val};-o-{$prop}:{$val};{$prop}:{$val}";
csscrush_Hyphens
Also add this new function. info. Or not... this is not popular :)
csscrush_Background_Image
Need add IE10 support. Also add old Safari support. For example use this tools.
Add IE6-IE9 'filter' properties - spoils text rendering not critical. Realy.
And add horizontal orientation support.
Taken into account, added the minification for !important
Hello. I like your script, and new features. This is cool 8) I have a couple of additions to your script.
Minify function ignores ' !important' value - not delete first space. Need add new rule in $replacements function
csscrush_Opacity
You can use short line (IE5.5+)
change to
csscrush_Border_Radius
Add webkit prefix for old Safari support
csscrush_Transition
Add IE10 support
csscrush_Hyphens
Also add this new function. info. Or not... this is not popular :)
csscrush_Background_Image
Need add IE10 support. Also add old Safari support. For example use this tools.
Add IE6-IE9 'filter' properties - spoils text rendering not critical. Realy.
And add horizontal orientation support.