The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.