PHP-CSS-Parser icon indicating copy to clipboard operation
PHP-CSS-Parser copied to clipboard

Deleting any rule that doesn't declare a color

Open PeterKnight opened this issue 6 years ago • 0 comments

I'm trying to get a copy of the css rules that contain color values, while discarding the rest.

From the examples I can infer what values are of the type color but I'm not sure how to remove the entire rule if it contains no values of the type Color. Is there a straightforward way to do that?

PeterKnight avatar Mar 05 '18 22:03 PeterKnight