ICSSMediaRule Interface
Contents
[
Hide
]ICSSMediaRule interface
The CSSMediaRule interface represents a @media rule in a CSS style sheet. A @media rule can be used to delimit style rules for specific media types.
public interface ICSSMediaRule : ICSSRule
Properties
Name | Description |
---|---|
getCSSRules The cssRules property of the CSSGroupingRule interface returns a CSSRuleList containing a collection of CSSRule objects. | |
getMedia The read-only media property of the CSSMediaRule interface MediaList represents the intended destination medium for style information. |
Methods
Name | Description |
---|---|
deleteRule(long) | The deleteRule() method of the CSSGroupingRule interface removes a CSS rule from a list of child CSS rules. |
insertRule(String, long) | The insertRule() method of the CSSGroupingRule interface adds a new CSS rule to a list of CSS rules. |
See Also
- interface ICSSRule
- package com.aspose.html.Dom.Css
- package Aspose.HTML