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 |
|---|
| CSSRules { get; } | A list of all CSS rules contained within the media block. |
| Media { get; } | A list of media types for this rule. |
Methods
| Name | Description |
|---|
| DeleteRule(long) | Used to delete a rule from the media block. |
| InsertRule(string, long) | Used to insert a new rule into the media block. |
See Also