CSS::Croco::StyleSheet - stylesheet object
my $croco = CSS::Croco->new; my $stylesheet = $croco->parse( ' * { property: value }' ); my $statements = $stylesheet->rules
Shows all CSS statements. Returns list of CSS::Croco::Statement subclasses.
Returns string representation of stylesheet.
To install CSS::Croco, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CSS::Croco
CPAN shell
perl -MCPAN -e shell install CSS::Croco
For more information on module installation, please visit the detailed CPAN module installation guide.