Haxe API Documentation
Back | Index
extern class js.html.CSSMediaRule
extends CSSRule
Available in js
An object representing a single CSS media rule. CSSMediaRule implements the CSSRule interface.

Documentation for this class was provided by MDN.
var cssRules(default,null) : CSSRuleList
Returns a CSSRuleList of the CSS rules in the media rule.
var media(default,null) : MediaList
Specifies the intended destination medium for style information.
function deleteRule(index : Int) : Void
function insertRule(rule : String, index : Int) : Int
Back | Index