Experimental Project

This is a sandbox project, which contains experimental code for developer use only.

This is a Drupal 8 port of the CTools CSS Tools.

Usage:

<?php
$css
= 'body { background: red; invalid: garbage; }';
$filtered = Drupal\css_tools\Css::filter($css);
print
$filtered;
?>

Output:
body {background: red;}

Project Information