Clear Up
SharpKit Reference

CSSMediaRule Class

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.
See also the Document Object Model (DOM) Level 2 Style Specification. @since DOM Level 2

Namespace: SharpKit.Html

Base Types

System.Object

Constructors

Name Description
CSSMediaRule()

Properties

Name Description
cssRules A list of all CSS rules contained within the media block.
media A list of media types for this rule.

Methods

Name Description
deleteRule(int) Used to delete a rule from the media block.
insertRule(string, int) Used to insert a new rule into the media block.
© Copyright 2005-2011 SharpKit. All rights reserved.