PHP-CSS-Parser
PHP-CSS-Parser copied to clipboard
Deleting any rule that doesn't declare a color
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?