crass icon indicating copy to clipboard operation
crass copied to clipboard

A Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification.

Results 2 crass issues
Sort by recently updated
recently updated
newest added

Native browser support for css nesting is becoming quite widespread - https://caniuse.com/css-nesting It appears that crass ignores nested rules. Would it be possible to support the nested syntax?

enhancement

I think it would be good to add two more values to style_rule node. block_start amd block_end ```rb css = :style_rule, :selector=> {:node=>:selector, :value=>"body", :tokens=> [{:node=>:ident, :pos=>0, :raw=>"body", :value=>"body"}, {:node=>:whitespace,...