CSS::Object::Rule::At - CSS Object Oriented At-Rule
use CSS::Object::Rule::At; my $rule = CSS::Object::Rule::At->new( debug => 3, format => $format_object ) || die( CSS::Object::Rule::At->error );
v0.1.0
CSS::Object::Rule::At is a base class for at-rule type of objects, such as @counter-style, @document, @font-face, @font-feature-values, @import, @keyframes, media, @namespace, @page, supports, @viewport and some other experimental ones such as @annotation, @character-variant, @ornaments, @stylistic, @styleset, @swash,
@counter-style
@document
@font-face
@font-feature-values
@import
@keyframes
media
@namespace
@page
supports
@viewport
@annotation
@character-variant
@ornaments
@stylistic
@styleset
@swash
See here for more information: https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule
To instantiate a new CSS::Object::Rule::At object, pass an hash reference of following parameters:
This is an integer. The bigger it is and the more verbose is the output.
This is a CSS::Object::Format object or one of its child modules.
Sets or gets the name of this at-rule. It returns a Module::Generic::Scalar
Sets or gets this at-rule's value. It returns a Module::Generic::Scalar
head1 AUTHOR
Jacques Deguest <jack@deguest.jp>
CSS::Object
Copyright (c) 2020 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.
To install CSS::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CSS::Object
CPAN shell
perl -MCPAN -e shell install CSS::Object
For more information on module installation, please visit the detailed CPAN module installation guide.