## Uses of Interface
org.w3c.dom.css.CSSRule

- Packages that use CSSRule
  Package | Description
  --- | ---
  org.w3c.dom.css | Provides interfaces for DOM Level 2 Style Specification.

- - ### Uses of CSSRule in org.w3c.dom.css

    Subinterfaces of CSSRule in org.w3c.dom.css
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `CSSCharsetRule` | The `CSSCharsetRule` interface represents a @charset rule in a CSS style sheet.
    `interface` | `CSSFontFaceRule` | The `CSSFontFaceRule` interface represents a @font-face rule in a CSS style sheet.
    `interface` | `CSSImportRule` | The `CSSImportRule` interface represents a @import rule within a CSS style sheet.
    `interface` | `CSSMediaRule` | The `CSSMediaRule` interface represents a @media rule in a CSS style sheet.
    `interface` | `CSSPageRule` | The `CSSPageRule` interface represents a @page rule within a CSS style sheet.
    `interface` | `CSSStyleRule` | The `CSSStyleRule` interface represents a single rule set in a CSS style sheet.
    `interface` | `CSSUnknownRule` | The `CSSUnknownRule` interface represents an at-rule not supported by this user agent.

    Methods in org.w3c.dom.css that return CSSRule
    Modifier and Type | Method | Description
    --- | --- | ---
    `CSSRule` | CSSStyleSheet.`getOwnerRule()` | If this style sheet comes from an `@import` rule, the `ownerRule` attribute will contain the `CSSImportRule`.
    `CSSRule` | CSSRule.`getParentRule()` | If this rule is contained inside another rule (e.g. a style rule inside an @media block), this is the containing rule.
    `CSSRule` | CSSStyleDeclaration.`getParentRule()` | The CSS rule that contains this declaration block or `null` if this `CSSStyleDeclaration` is not attached to a `CSSRule`.
    `CSSRule` | CSSRuleList.`item​(int index)` | Used to retrieve a CSS rule by ordinal index.