NAME
CSS::Object::Rule::At - CSS Object Oriented At-Rule
SYNOPSIS
use CSS::Object::Rule::At;
my $rule = CSS::Object::Rule::At->new( debug => 3, format => $format_object ) ||
die( CSS::Object::Rule::At->error );
VERSION
v0.1.0
DESCRIPTION
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
,
See here for more information: https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule
CONSTRUCTOR
new
To instantiate a new CSS::Object::Rule::At object, pass an hash reference of following parameters:
- debug
-
This is an integer. The bigger it is and the more verbose is the output.
- format
-
This is a CSS::Object::Format object or one of its child modules.
METHODS
name
Sets or gets the name of this at-rule. It returns a Module::Generic::Scalar
value
Sets or gets this at-rule's value. It returns a Module::Generic::Scalar
head1 AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
COPYRIGHT & LICENSE
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.