Class CSSStyleRule

java.lang.Object
com.helger.css.decl.CSSStyleRule
All Implemented Interfaces:
com.helger.commons.traits.IGenericImplTrait<CSSStyleRule>, ICSSTopLevelRule, IHasCSSDeclarations<CSSStyleRule>, ICSSSourceLocationAware, ICSSWriteable

@NotThreadSafe public class CSSStyleRule extends Object implements ICSSTopLevelRule, IHasCSSDeclarations<CSSStyleRule>, ICSSSourceLocationAware
Represents a single CSS style rule. A style rule consists of a number of selectors (determine the element to which the style rule applies) and a number of declarations (the rules to be applied to the selected elements).
Example:
div { color: red; }
Author:
Philip Helger