class js.html.CSSMediaRule extends CSSRule

Available on js

An object representing a single CSS media rule. CSSMediaRule implements the CSSRule interface.

Documentation for this class was provided by MDN.

Instance Fields

var cssRules:CSSRuleList

Returns a CSSRuleList of the CSS rules in the media rule.

var media:MediaList

Specifies the intended destination medium for style information.

function deleteRule(index:Int):Void

function insertRule(rule:String, index:Int):Int