There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

CSS::Croco::StyleSheet - stylesheet object

SYNOPSYS

my $croco = CSS::Croco->new;
my $stylesheet = $croco->parse( ' * { property: value }' );
my $statements = $stylesheet->rules

METHODS

rules

Shows all CSS statements. Returns list of CSS::Croco::Statement subclasses.

to_string

Returns string representation of stylesheet.