logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CSS::Property - A property in a CSS object tree

Author

       Copyright (C) 2003-2004, Cal Henderson <cal@iamcal.com>

Description

       This module represents a property in a CSS object tree.  Read the CSS.pm pod for information about the
       CSS object tree.

Methods

CONSTRUCTORS
       new() or "new( { ..options.. } )"
           This constructor returns a new "CSS::Property" object, with an optional hash of options.

             property      property name (as string)
             value         simple value string
             adaptor       adaptor to use for serialization

           If  the  "value"  option  is  passed, a "CSS::Value" object is automatically created and added to the
           object's values list.

   ACCESSORS
       set_adaptor( 'CSS::Adaptor::Foo' )
           This method sets the current adaptor for the object.

       values()
           This method is used to serialize the property's values, using  the  current  adaptor.  It  returns  a
           string which comes from the adaptor's output_values() method.

Name

       CSS::Property - A property in a CSS object tree

See Also

       CSS, http://www.w3.org/TR/REC-CSS1

perl v5.40.1                                       2025-04-22                                 CSS::Property(3pm)

Synopsis

         use CSS;

See Also