CssMin icon indicating copy to clipboard operation
CssMin copied to clipboard

Clone of CssMin for http://packagist.org/about-composer

Results 8 CssMin issues
Sort by recently updated
recently updated
newest added

I'm using the library to minify CSS on my workflow. Up to PHP 7.4 it works fine, but spits this warning: ```bash ERROR: The each() function is deprecated. This message...

Before: padding-top: calc(100% / (650 / 320) + 1em); After CssMin: padding-top: calc(100% / (650 / 320)+1em); //This code does not work According to the specification, after and before the...

Filter adding "RemoveComments" does not remove comments (/ *! * /) After adding the filter, the file looks like this ``` / *! * Bootstrap v4.6.0 (https://getbootstrap.com/) * Copyright 2011-2021...

Minifier break css when at-media & at-keyframes are used together. This css: ``` @media (min-width: 0) and (max-width: 360px) { @keyframes loop { 0% { transform: translateX(0); } 100% {...

`@supports` can't be used at the moment. The CSS code below should come out unaltered (already minified). However the closing bracket is removed. **steps to reproduce** ```php echo \CssMin::minify('@supports(display:grid){.example{display:grid}}'); ```...

'+ +' not correctly minified and becomes '++'. See minified code below. Environment: php 7.2 natxet/CssMin 3.0.4 Original function: ``` function getBordersSize(styles, axis) { var sideA = axis === 'x'...

If a definition like this is used in a css file. Then there will be a closing bracket } missing in the minified output. ``` @-moz-document url-prefix() { .btn {...