ICSSMediaRule Interface

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

NameDescription
CSSRules { get; }A list of all CSS rules contained within the media block.
Media { get; }A list of media types for this rule.

Methods

NameDescription
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