W3cubDocs

/Haxe JavaScript

CSSMediaRule

package js.html

extends CSSRule

Available on js

The CSSMediaRule is an interface representing a single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE).

Documentation CSSMediaRule by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read only cssRules:CSSRuleList

read only media:MediaList

Specifies a MediaList representing the intended destination medium for style information.

Methods

deleteRule (index:Int):Void

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

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/CSSMediaRule.html